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.
Body
PARAM
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": "<string>",
"gasPrice": "<string>",
"networkFee": "<string>",
"baseFee": "<string>",
"priorityFee": "<string>"
},
"medium": {
"feePerByte": "<string>",
"gasPrice": "<string>",
"networkFee": "<string>",
"baseFee": "<string>",
"priorityFee": "<string>"
},
"high": {
"feePerByte": "<string>",
"gasPrice": "<string>",
"networkFee": "<string>",
"baseFee": "<string>",
"priorityFee": "<string>"
}
} |
ENDPOINTS