blockchain

Gas Price Oracle

Multi-chain gas price oracle: current base fee plus priority-fee tiers for EVM chains. POST /v1/gas with {chain_id} and get the base fee and slow/standard/fast tiers as one JSON object. Deterministic per read instant. Pay per request in USDC; no account, no API key.

post/v1/gas-price-oracle

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/gas-price-oracle
  • Auth: none required

Request body

chain_idinteger required

EVM chain id (default 1).

Response

The upstream response, served after payment settles.

object required

For POST /v1/gas, a JSON object with the base fee, priority-fee tiers, and the chain_id. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field, and the GET routes return their own small JSON documents.

Changes

No recorded changes to this operation across all 1 revision of this API.