get https://api.fireblocks.io/v1/estimate_network_fee
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 thegasPrice
with a given delta added, multiplied by thegasLimit
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 theactualPriority
based on the latest 12 blocks.- For XRP and XLM, the response contains the transaction fee.