Estimate the required fee for an asset

Gets the estimated required fee for an asset. For UTXO based assets, the response will contain the suggested fee per byte, for ETH/ETC based assets, the suggested gas price, and for XRP/XLM, the transaction fee.

📘

Notes

  • The assetId parameter does not support the ZCash (ZEC) asset.
  • The networkFee parameter is the gasPrice with a given delta added, multiplied by the gasLimit plus the delta.
  • The estimation provided depends on the asset type.
    • For UTXO-based assets, the response contains the suggested fee per byte.
    • For ETH-based and ETC-based assets, the response contains the suggested gas price. This is calculated by adding the baseFee to the actualPriority based on the latest 12 blocks.
    • For XRP and XLM, the response contains the transaction fee.
Language