This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity.
You need to specify the transaction information, including destination address, token ID.
The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to Estimate transaction fee.
The API key. For more details, refer to API key.
In the API playground, enter your API secret, and your API key will be accordingly calculated.
The information about a Fee Station top-up transaction.
The information about a Fee Station top-up transaction.
The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens.
"ETH_USDT"
The request was successful.
The estimated transaction fee based on the fixed fee model.
For more details about the fixed fee model, see Fee models.
The fee model. Possible values include:
Fixed: The fixed fee model.EVM_EIP_1559: The EIP-1559 fee model.EVM_Legacy: The legacy fee model.UTXO: The fee model used in UTXO-based blockchains, such as Bitcoin.SOL: The fee model used in Solana.FIL: The fee model used in Filecoin.Each fee model requires a different set of properties. Switch between the above tabs for details.
To learn more about the fee models, refer to Fee models.
Fixed, EVM_EIP_1559, EVM_Legacy, UTXO, SOL, FIL "EVM_EIP_1559"
The token used to pay the transaction fee.
"TRON"
The transaction fee that you need to pay for the transaction.
"0.1"