Estimate transaction fees

This endpoint is recommended for API Operators. Estimate transaction fees based on the request payload of type CREATE_TRANSACTION.

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
Request Body schema: application/json

request creation payload

required
any

Detailed transaction data, varying based on the specific transaction type.

object or null
Default: null

Optional note or annotation for the transaction.

type
required
any

Specifies the type of transaction request being made.

Value: "CREATE_TRANSACTION"
Responses
200

attributes of the transaction to estimate

400

Invalid transaction parameters

post/transactions/estimate-fees
Request samples
application/json
{
  • "data": {
    },
  • "note": null,
  • "type": "CREATE_TRANSACTION",
  • "transaction_type": "CREATE_TRANSACTION"
}
Response samples
application/json
{
  • "coin_fields": { }
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.