Estimate Transaction Fees

Estimate transaction fees

post

Estimate transaction fees

Authorizations
Body
any ofOptional
Responses
200
attributes of the transaction to estimate
application/json
Responseone of
or
or
or
or
or
or
or
post
POST /transactions/estimate-fees HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 392

{
  "data": {
    "account_id": "101",
    "fees_strategy": {
      "data": {
        "fees_per_byte": "30"
      },
      "type": "CUSTOM"
    },
    "transaction_data": {
      "account_name": "ETH Wallet 1",
      "amount": "1267887898998",
      "currency": "bitcoin",
      "max_fees": "123908790",
      "recipient": "0x1234...abcd"
    },
    "transaction_type": "BITCOIN_LIKE_SEND"
  },
  "note": {
    "content": "some information about this transaction",
    "title": "a note title"
  },
  "type": "CREATE_TRANSACTION"
}
{
  "coin_fields": {
    "gas_limit": "21000",
    "gas_price": "157000000"
  },
  "max_fees": "text"
}