Skip to content
onelayer.
All tools

Tool detail

ApiToll Multi-Chain EVM Gas

Returns slow/standard/fast EIP-1559 gas fee tiers (maxFeePerGas, maxPriorityFeePerGas) for one of 17 EVM chains.

Categories: Onchain data

Use when

  • get current gas fees for an EVM chain before sending a tx
  • compare slow/standard/fast gas tiers on Base or Arbitrum
  • fetch EIP-1559 fee values ready to plug into a viem transaction

Not for

  • not non-EVM chains, Solana and similar aren't covered
  • not historical gas price charts, current snapshot only

Inputs

GET query params: chain (enum of 17 EVM chains, required, default ethereum), blocks (integer 1-50, optional, default 20)

Admitted input schema

{
  "type": "object",
  "properties": {
    "blocks": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Recent blocks to sample for percentile reward (1..50, clamped)."
    },
    "chain": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "ethereum",
        "base",
        "optimism",
        "arbitrum",
        "polygon",
        "avalanche",
        "gnosis",
        "linea",
        "scroll",
        "blast",
        "mode",
        "opbnb",
        "celo",
        "bsc",
        "fantom",
        "zksync",
        "mantle"
      ],
      "description": "Target EVM chain id. One of: ethereum, base, optimism, arbitrum, polygon, avalanche, gnosis, linea, scroll, blast, mode, opbnb, celo, bsc, fantom, zksync, mantle. Also accepts common aliases (eth, arb, op, matic, avax, bnb). Default: ethereum."
    }
  },
  "required": [
    "chain"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://evm-gas.apitoll.cloud/v1/evm/gas

Payment

Protocol
x402
Listed price
$0.001 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://evm-gas.apitoll.cloud/v1/evm/gas
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z