Fee Estimation API

Estimate gas for a transaction

10 credits per API call

Estimate the current fee for different types of transactions.

This API is supported for the following blockchains:

  • Bitcoin
  • BNB Smart Chain
  • Celo
  • Dogecoin
  • Ethereum
  • Harmony
  • Klaytn
  • Litecoin
  • Polygon
  • XinFin
post/v3/blockchain/estimate

Request

  • Base URL
    https://api.tatum.io
  • URL
    https://api.tatum.io/v3/blockchain/estimate
  • Auth
    API key in header x-api-key

Request body

OR
OR
OR
OR
OR

Example request

{
  "sender": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
  "recipient": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
  "contractAddress": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
  "amount": "100000"
}

Response

OK

OR

Example response

{
  "fast": "0.006584",
  "medium": "0.004584",
  "slow": "0.002584"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.