Base gas price (public JSON-RPC, no vendor)
gas_price[PAID — 0.002 USDC on Base via x402] Current Base gas market read live from Base's own public JSON-RPC, not a hosted gas-oracle vendor — legacy gas price, EIP-1559 base fee, a suggested priority/max fee (all in gwei), and a plain-transfer cost estimate. Base mainnet only (eip155:8453). Cached 30 seconds across all callers. $0.002 USDC on Base, paid via x402 by the calling agent's own wallet. Call with no payment_header first to receive the payment requirements; your own wallet pays, never this server's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Only 'base' is supported today; omit or pass "base". | |
| payment_header | No | Optional. Omit on your first call to receive the x402 payment challenge for free. After your own wallet/x402 client signs against that challenge, call this same tool again with the SAME business arguments plus this field set to the header your x402 client produced (typically { name: "PAYMENT-SIGNATURE", value: "<base64 payload>" }). This server never holds a wallet and never pays on your behalf. |