base-gas-x402 · GAS

by base-gas-x402

GETBaseOnchain
$0.005
per call · USDC on Base

Live Base mainnet gas: EIP-1559 base fee, low/medium/high priority tiers in gwei, and a transaction cost estimate for any gas limit.

Endpoint
GET https://base-gas-x402-production.up.railway.app/gas
706calls / 30dmeasured by x402.new
5paying wallets / 30dmeasured by x402.new
—uptime / 24hmeasured by x402-list.com
—compliance grademeasured by x402-list.com

Listed in 2 directories: bazaar, x402-new. First seen 5 Sept 2026.

Call this service

The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);

const res = await pay("https://base-gas-x402-production.up.railway.app/gas", {
  method: "GET",
});

console.log(await res.json());
Open the endpoint ↗On OpenSea's x402 Bazaar ↗Everything from base-gas-x402-production.up.railway.app

More from base-gas-x402-production.up.railway.app

base-gas-x402 · GAS Compare

base-gas-x402-production.up.railway.app

Live gas cost comparison across Base, OP Mainnet, Arbitrum One, and Ethereum in one call, ranked cheapest first.

BaseOnchain
6 calls / 30d$0.01/ call
base-gas-x402 · GAS Cheapest Window

base-gas-x402-production.up.railway.app

Cheapest hours of day to transact on Base, from collected gas history: hourly averages in UTC ranked cheapest first, plus the savings percent.

BaseOnchain
2 calls / 30d$0.02/ call

Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.

Settings