fees
Function
Get transfer
, withdraw
, bundle
fees for tokens on everPay
Parameter
everpay.fees():FeeItem[]
Return
- Return Field
- Return Type
Return Fields
Field | Description |
---|---|
tokenTag | Generated by combining chainType , symbol , id from Token by - |
burnFeeMap | withdraw handling fee |
transferFee | transfer handling fee |
atomicBundleFee | bundle handling fee |
export interface FeeItem {
tokenTag: string
burnFeeMap: {
[propname: string]: string
}
transferFee: string
atomicBundleFee: string
updatedAt: string
}[]
info
Example
const everpay1 = new Everpay({ debug: true })
everpay1.fees().then(console.log)
Example Return
[
{
"tokenTag": "arweave-pia-n05LTiuWcAYjizXAu-ghegaWjL89anZ6VdvuHcU6dno",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"arweave": "0"
}
},
{
"tokenTag": "arweave-vrt-usjm4PCxUd5mtaon7zc97-dt-3qf67yPyqgzLnLqk5A",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"arweave": "113330643064171680",
"ethereum": "1200000000000000"
}
},
{
"tokenTag": "arweave-xyz-mzvUgNc8YFk0w5K5H7c8pyT-FC5Y_ba0r7_8766Kx74",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"arweave": "9066451445133720"
}
},
{
"tokenTag": "ethereum-dai-0xc4375b7de8af5a38a93548eb8453a498222c4ff2",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"ethereum": "10921343819056285200"
}
},
{
"tokenTag": "ethereum-eth-0x0000000000000000000000000000000000000000",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"ethereum": "4212000000000000"
}
},
{
"tokenTag": "ethereum-usdc-0xb7a4f3e9097c08da09517b5ab877f7a917224ede",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"ethereum": "10922326"
}
},
{
"tokenTag": "ethereum-usdt-0xd85476c906b5301e8e9eb58d174a6f96b9dfc5ee",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"ethereum": "10917960"
}
},
{
"tokenTag": "arweave-ardrive--8A6RexFkpfWwuyVO98wzSFZh0d6VJuI-buTJvlwOJQ",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"arweave": "6799838583850320"
}
},
{
"tokenTag": "arweave,ethereum-ar-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,0xcc9141efa8c20c7df0778748255b1487957811be",
"transferFee": "0",
"atomicBundleFee": "0",
"burnFeeMap": {
"arweave": "2265880856",
"ethereum": "120000000"
}
}
]