Estimate transaction fees

Estimate transaction fees

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
BitcoinSendTransactionCreationData (object) or EthereumSendTransactionCreationData (object) or EthereumExecuteContractTransactionCreationData (object) or EthereumDeployContractTransactionCreationData (object) or RippleSendTransactionCreationData (object) or StellarSendTransactionCreationData (object) or TezosSendTransactionCreationData (object) or CardanoSendTransactionCreationData (object) or SolanaSendTransactionCreationData (object) or SolanaLightTokenSendCheckedCreationData (object) or SolanaLightTokenSendCheckedFundedCreationData (object) or SolanaCreateAssociatedTokenAccountCreationData (object)

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.