Skip to main content
GET
/
v1
/
transaction
/
{chain}
/
gas-price
Transaction - Get Gas Price
curl --request GET \
  --url https://api-dex.chainstream.io/v1/transaction/{chain}/gas-price \
  --header 'Authorization: Bearer <token>'
{
  "gasPrice": "0x5d21dba00",
  "chain": "ethereum"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chain
enum<string>
required

A chain name listed in supported networks

Available options:
base,
bsc,
polygon,
arbitrum,
optimism,
avalanche,
eth,
zksync

Response

200 - application/json
gasPrice
string
required

Current gas price in wei (hex string)

Example:

"0x5d21dba00"

chain
string
required

Chain symbol

Example:

"ethereum"