Tool detail
ApiToll Base Gas Oracle
Returns Base network EIP-1559 gas fee tiers (slow/standard/fast) as ready-to-use maxFeePerGas and maxPriorityFeePerGas in wei, plus base fee and network fullness.
Categories: Onchain data
Use when
- get current gas price tiers for a Base transaction
- set maxFeePerGas and maxPriorityFeePerGas before sending a Base tx
- check Base network congestion before transacting
Not for
- not for other chains - Base network only
- not a gas price history or chart
Inputs
GET query param: blocks (integer, 1-50, required by schema; docs note a default of 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). Wider = smoother tiers, narrower = more reactive."
}
},
"required": [
"blocks"
],
"additionalProperties": false
}Endpoint
- Method
GET- URL
https://gas.apitoll.cloud/v1/base/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
- Directory
- Coinbase x402 Bazaar
- Record
- GET https://gas.apitoll.cloud/v1/base/gas
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z