Skip to main content
GET
Get list of all available gas prices

Authorizations

Authorization
string
header
required

To test endpoints here, paste your API key from the Dashboard into the username field and leave the password empty.

Query Parameters

filter[chain_ids]
string[]

Return only gas prices for these chains (comma-separated list). Defaults to every chain reporting supports_gas_prices. Only chains reporting supports_gas_prices in the flags of GET /v1/chains/ are returned. A chain that fails that gate, or that GET /v1/chains/ doesn't list, is left out of data, and the response is still 200 when another requested chain passes (for example ethereum,astar-zkevm returns only the ethereum prices). If no requested chain passes, the response is 400 rather than an empty result, with detail reading chain <id> does not support gas prices for one of the requested chains (for example chain astar-zkevm does not support gas prices). A chain whose gas prices are temporarily unavailable is left out of data. If every requested chain that can produce a requested gas type is unavailable, the response is 503 with a Retry-After header.

filter[gas_types]
enum<string>[]

Return only gas prices of these gas types (comma-separated list). Accepts classic, eip1559 and solana, and any other value returns 400. Defaults to all three types. Solana produces only solana, and every other chain produces only classic and eip1559. Chains that can't produce a requested type are skipped, so filter[gas_types]=solana&filter[chain_ids]=ethereum returns 200 with an empty data.

Format of the gas.

Available options:
classic,
eip1559,
solana

Response

List of gas prices

data
object[]