gas
gas-price
ethereum
base
evm
blockchain
transaction-fees
eip1559
onchain
web3
EVM Gas Price Oracle ($0.003/call)
Current gas prices for Base or Ethereum mainnet: legacy gas price, EIP-1559 base fee and suggested priority fee (all gwei), plus the latest block number. Query: chain (base | ethereum, default base). Real-time from public RPC. Use to time on-chain transactions, estimate costs, and monitor fee spikes.
Paid endpoint: $0.003 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.
get/gas
Request
- Base URL: https://x402.shizu.me
- URL: https://x402.shizu.me/gas
- Auth: none declared
Query parameters
chainstring
Response
Paid result (JSON)
Changes
No recorded changes to this operation across all 1 revision of this API.