Estimate transaction fees
The account's name.
The amount to be sent, in the currency's lowest unit. For Smart Contract interaction, use "0" instead of null
null
Pattern: ^[0-9]*(\.[0-9]+)?$
coin specific data
null
The recipient's address.
The transaction's processing speed.
POST /transactions/fees HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 136
{
"account_name": "text",
"amount": "text",
"coin_fields": {
"utxo_picking_strategy": "DEEP_OUTPUTS_FIRST"
},
"recipient": "text",
"speed": "CUSTOM"
}
{
"coin_fields": {
"gas_limit": 1,
"gas_price": 1,
"type": "text"
},
"max_fees": "text",
"max_fees_buffer_factor": 1
}