Get the current gas price for the specified chain
cURL
curl --request GET \ --url https://api.chainstream.io/v1/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?