Best time of day to send a transaction on Base
base-gas-x402-production.up.railway.app/gas/cheapest-window
Best time of day to send a transaction on Base: hours to avoid, cheapest hour (UTC), and what waiting saves in USD.
GET
https://base-gas-x402-production.up.railway.app/gas/cheapest-windowUptimeNot 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/cheapest-window?hours=168");
console.log(await res.json());Example input
{
"hours": 168
}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/compareWhat the same transaction costs right now on Base, Optimism, Arbitrum and Ethereum, in USD, cheapest chain first.0.01
- base-gas-x402-production.up.railway.app/gas/historyIs Base gas high or low right now? Up to 7 days of history every 5 min, min/max/avg/median, cheap/normal/expensive verdict.0.01
