EVM multi-chain gas oracle API
Current EIP-1559 gas snapshot for Ethereum, Base, Arbitrum, Optimism, and Polygon from public RPC, with Chainlink USD estimates for a simple transfer. POST /api/v1/chain-data/gas/evm costs $0.001 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Base Mainnet public JSON-RPC Coinbase Exchange ETH-USD ticker for gas USD estimates Limits: Reads do not submit transactions. Log and transfer queries are capped and require a bounded block range.
Current EIP-1559 gas snapshot for Ethereum, Base, Arbitrum, Optimism, and Polygon from public RPC, with Chainlink USD estimates for a simple transfer. POST /api/v1/chain-data/gas/evm costs $0.001 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Base Mainnet public JSON-RPC Coinbase Exchange ETH-USD ticker for gas USD estimates Limits: Reads do not submit transactions. Log and transfer queries are capped and require a bounded block range.
/api/v1/chain-data/gas/evmExample request
curl -i -X POST "https://www.brainiac.software/api/v1/chain-data/gas/evm" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"chains": [
"ethereum",
"base"
]
}
JSONExample response
{
"status": "complete",
"asOf": "2026-11-20T23:20:00.000Z",
"chains": [
{
"chain": "ethereum",
"chainId": 1,
"baseFeeGwei": "12.5",
"priorityFeeGwei": {
"slow": "0.1",
"standard": "0.5",
"fast": "1.2"
},
"gasLimit": 21000,
"estimatedFeeNative": "0.000273",
"estimatedFeeUsd": "0.83",
"nativeUsd": "3050.12",
"nativeUsdSource": "Chainlink"
}
],
"unavailable": [],
"limitation": "Current-fee snapshot, not a guaranteed inclusion price.",
"missing_items": []
}An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
Errors: HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; failed or empty results are not charged. Invalid cursor returns HTTP 400 (uncharged).
Limits: Reads do not submit transactions. Log and transfer queries are capped and require a bounded block range. gas/current is a fee snapshot, not a guaranteed inclusion price.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Get network information — $0.002 USDC
- Get latest block — $0.002 USDC
- Get block by number or hash — $0.002 USDC
- Get block transactions — $0.002 USDC