Fee Estimation for a Transaction

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

💡

Compute Unit Value: 50 (fixed) Skip link to compute unit value


👍

START HERE! Skip link to START HERE!

Click Try It! to test the endpoint with the default values or customize your request by following these steps:

  1. Enter your API key in the Header: token text box (top right).

  2. Enter the parameters available below.

  3. Click Try It!.


For an in-depth tutorial, take a look at this video to learn how to estimate Ethereum Gas Fees with Blockdaemon's REST API.

Supported Protocols & Networks

Protocol Network Path Parameter
Avalanche Mainnet-c avalanche/mainnet-c
Testnet-c avalanche/testnet-c
Bitcoin Mainnet bitcoin/mainnet
Testnet bitcoin/testnet
Testnet4 bitcoin/testnet4
Bitcoincash Mainnet bitcoincash/mainnet
Testnet bitcoincash/testnet
BNB Mainnet bnb/mainnet
Testnet bnb/testnet
Dogecoin Mainnet dogecoin/mainnet
Testnet dogecoin/testnet
Ethereum Mainnet ethereum/mainnet
Sepolia ethereum/sepolia
Hoodi ethereum/hoodi
Litecoin Mainnet litecoin/mainnet
Testnet litecoin/testnet
Polkadot Mainnet polkadot/mainnet
Westend polkadot/westend
Polygon Mainnet polygon/mainnet
Amoy polygon/amoy
Solana Mainnet solana/mainnet
Testnet solana/testnet
Devnet solana/devnet
Kaia Mainnet kaia/mainnet
Kairos (Testnet) kaia/kairos
XRP Mainnet xrp/mainnet
Testnet xrp/testnet

protocol

string

required

Defaults to bitcoin

Protocol handle, one of: avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, polkadot, polygon, solana, and kaia.

network

string

required

Defaults to mainnet

Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.

``200 Protocols Overview

``401 Invalid or expired token

``429 Rate limit exceeded

``500 An internal server error happened

``503 The resource you are trying to access is currently unavailable


Sample CURL Request

curl --request GET \
 
     --url https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/tx/estimate_fee \
 
     --header 'X-API-Key: ••••' \
 
     --header 'accept: application/json'

application/json

200 - simple fee200 - evm401429500503