Estimate Blockchain Fees

View as Markdown

This method allows you to estimate blockchain fees to forward a transaction to your wallet address.

Notes:

  • This is an estimation only, and might change significantly when the transaction is processed by the blockchain. BlockBee is not responsible if blockchain fees differ from this estimation when forwarding the funds.
  • Does not include BlockBee's fees.

Method: GET

Path: https://api.blockbee.io/{ticker}/estimate/

Parameters

Path Parameters

tickerstringRequired

The ticker parameter in this API request refers to the unique identifier of the cryptocurrency to which you are making the request. It is included in the URL of the request and helps to specify the exact cryptocurrency that you want to retrieve data for. The ticker is typically a short code that uniquely identifies the cryptocurrency, or the token and it's network/blockchain. For example, btc is the ticker for Bitcoin, and trc20/usdt is the ticker for USDT over TRC-20. Having this in mind, a request for USDT over TRC-20 will look like this: https://api.blockbee.io/trc20/usdt/create/.

Notes:

Example:btc

Query Parameters

apikeystringRequired

API Key provided by BlockBee's Dashboard. Unsure how to get yours? Check this tutorial.

Note:

  • The API key can also be sent as a header named apikey.
Example:your_api_key_here

addressesinteger

The number of addresses to forward the funds to. Should be the same you set in the BlockBee's Dashboard or in the address parameter.

Notes:

  • The higher the number of addresses, the higher the blockchain fee will be.
Example:1

prioritystring

This parameter allows you to set the priority with which funds should be forwarded to the provided address. It reflects the amount of fees paid to the blockchain network and can affect the speed of transaction confirmation. It's different per currency/network.

Notes:

  • You can find the priorities to use with this endpoint, per blockchain, in our knowledge base.
  • Only supported when using Bitcoin, Ethereum/ERC-20 and Litecoin.
Example:default

Returns

Returns the estimated cost for the transaction.

statusstring

Status of the request. Should be success if the request didn't fail.

estimated_costinteger

Estimated cost in the blockchain's native cryptocurrency.

Notes:

  • Example, transactions on the Bitcoin network will have costs estimated in BTC, while transactions using USDT on the TRC20 (Tron) network will have costs estimated in TRX.
  • You can also check our cryptocurrencies page for a quick estimation of blockchain fees.

estimated_cost_currencyobject

Object with the estimated cost in various FIAT currencies.

Keys are the names of the currencies, values are the estimated costs. In case your desired FIAT currency is not included in the list of supported currencies, please don't hesitate to reach out to us so that we can add it to our service:

  • (USD) United States Dollar
  • (EUR) Euro
  • (GBP) Great Britain Pound
  • (CAD) Canadian Dollar
  • (JPY) Japanese Yen
  • (AED) UAE Dollar
  • (MYR) Malaysian Ringgit
  • (IDR) Indonesian Rupiah
  • (THB) Thai Baht
  • (CHF) Swiss Franc
  • (SGD) Singapore Dollar
  • (RUB) Russian Ruble
  • (ZAR) South African Rand
  • (TRY) Turkish Lira
  • (LKR) Sri Lankan Rupee
  • (RON) Romanian Leu
  • (BGN) Bulgarian Lev
  • (HUF) Hungarian Forint
  • (CZK) Czech Koruna
  • (PHP) Philippine Peso
  • (PLN) Poland Zloti
  • (UGX) Uganda Shillings
  • (MXN) Mexican Peso
  • (INR) Indian Rupee
  • (HKD) Hong Kong Dollar
  • (CNY) Chinese Yuan
  • (BRL) Brazilian Real
  • (DKK) Danish Krone
  • (TWD) New Taiwan Dollar
  • (AUD) Australian Dollar
  • (NGN) Nigerian Naira
  • (SEK) Swedish Krona
  • (NOK) Norwegian Krone
  • (UAH) Ukrainian Hryvnia
  • (VND) Vietnamese Dong

Notes: Updated every 5 minutes from CoinMarketCap.