v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Fee Estimation API

Get recommended base fee for a chain

1 credit per API call

Get the recommended fee/gas price for a blockchain.

Fee is in satoshis(meaning currency(BTC, DOGE,... / 100 000 000) per byte

This API is supported for the following blockchains:

  • Bitcoin
  • Dogecoin
  • Ethereum
  • Litecoin
get/v3/blockchain/fee/{chain}

Path parameters

chain'ETH' | 'BTC' | 'LTC' | 'DOGE' required
Example:BTC

Chain

Response

OK

fastnumber required

Fast transaction acceptance time into block. For btc-based chains - fee per byte. For evm-based chains - gas price in wei

mediumnumber required

Medium transaction acceptance time into block. For btc-based chains - fee per byte. For evm-based chains - gas price in wei

slownumber required

Slow transaction acceptance time into block. For btc-based chains - fee per byte. For evm-based chains - gas price in wei

baseFeenumber

(evm-based only) This is the minimum fee needs to paid in order for the tx to be accepted into block.

timestring required

Last time fees were recalculated

blocknumber required

Last used to calculate fee from

Example response

{
  "fast": 14766927339,
  "medium": 13333333333,
  "slow": 12953333333,
  "baseFee": 12657357496,
  "time": "2022-12-08T08:42:04.518Z",
  "block": 16138867
}