Estimate the required fee for an asset
GET {{baseUrl}}/estimate_network_fee?assetId=<string>
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.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
assetId | string | (Required) The asset for which to estimate the fee |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"low":{"feePerByte":"\u003cstring\u003e","gasPrice":"\u003cstring\u003e","networkFee":"\u003cstring\u003e","baseFee":"\u003cstring\u003e","priorityFee":"\u003cstring\u003e"},"medium":{"feePerByte":"\u003cstring\u003e","gasPrice":"\u003cstring\u003e","networkFee":"\u003cstring\u003e","baseFee":"\u003cstring\u003e","priorityFee":"\u003cstring\u003e"},"high":{"feePerByte":"\u003cstring\u003e","gasPrice":"\u003cstring\u003e","networkFee":"\u003cstring\u003e","baseFee":"\u003cstring\u003e","priorityFee":"\u003cstring\u003e"}}