Estimate Transaction Fees

Estimate transaction fees

post

Estimate transaction fees

Authorizations
Body
account_namestringRequired

The account's name.

amountstring | nullableOptional

The amount to be sent, in the currency's lowest unit. For Smart Contract interaction, use "0" instead of null

Default: nullPattern: ^[0-9]*(\.[0-9]+)?$
coin_fieldsone of | nullableOptional

coin specific data

Default: null
or
or
or
or
or
or
or
or
or
recipientstringRequired

The recipient's address.

speedstring · enumRequired

The transaction's processing speed.

Possible values:
Responses
200
attributes of the transaction to estimate
application/json
post
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
}