Get the current gas price for an EVM chain
cURL
curl --request GET \ --url https://api.dex.chainstream.io/v2/transaction/{chain}/gas-price \ --header 'Authorization: Bearer <token>'
{ "gasPrice": "0x5d21dba00", "chain": "ethereum" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A chain name listed in supported networks
bsc
eth
Current gas price in wei (hex string)
"0x5d21dba00"
Chain symbol
"ethereum"
Was this page helpful?