The simplest way to fetch and display the current gas fee for blockchain networks.
curl --request POST \
--url https://api.tatum.io/v4/blockchainOperations/gas \
--header 'Content-Type: application/json' \
--header 'x-api-key: {YOUR_API_KEY}' \
--data '{
"chain": "ETH",
"from": "0x0974557990949352a20369fbe6210b3ee64....",
"to": "0xcdfeaf3b4a7beb3cc1fafb7ea34dc9a40b61....",
"amount": "4.5"
}'
curl --request GET \
--url https://api.tatum.io/v3/blockchain/fee/ETH \
--header 'x-api-key: {YOUR_API_KEY}'
Tatum's Fee Submodule does the hard work for you – fetching current fees and estimating your transaction cost in an instant.
Display real-time gas fees clearly and simply. Integrate our Fee Submodule for transparent, user-friendly fee information.
Tatum’s Fee Submodule allows you to compare gas fees across blockchain networks.
"Tatum’s blockchain APIs help us build robust product solutions in a fraction of the time. We love working with their team... always responsive and reliable!"
Zac Barron
Product Lead at Binance
A powerful SDK, lightning-fast RPC nodes, faucets and a whole lot more - for free.