Is Base gas high or low right now
base-gas-x402-production.up.railway.app/gas/history
Is Base gas high or low right now? Up to 7 days of history every 5 min, min/max/avg/median, cheap/normal/expensive verdict.
GET
https://base-gas-x402-production.up.railway.app/gas/historyUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://base-gas-x402-production.up.railway.app/gas/history?hours=24");
console.log(await res.json());Example input
{
"hours": 24
}More from base-gas-x402
- base-gas-x402-production.up.railway.app/gasCurrent gas price on Base and what a transaction costs in USD right now: base fee, priority tiers, ready-to-sign maxFeePerGas.0.002
- base-gas-x402-production.up.railway.app/gas/adviceShould I send my transaction on Base now or wait? Send-now or wait answer with the USD cost and ready-to-sign fees.0.003
- base-gas-x402-production.up.railway.app/gas/cheapest-windowBest time of day to send a transaction on Base: hours to avoid, cheapest hour (UTC), and what waiting saves in USD.0.02
- base-gas-x402-production.up.railway.app/gas/compareWhat the same transaction costs right now on Base, Optimism, Arbitrum and Ethereum, in USD, cheapest chain first.0.01
