Skip to content
Fourohtwo

x402-toolbox.vercel.app/block

Latest block on Base, Ethereum, Arbitrum, Optimism and Polygon in one call: number, hash, timestamp, age in seconds, transaction count, gas used and limit, base fee. Read live with RPC failover; per-chain status. Not charged for bad input or when every chain fails. No API key.

BaseUnchecked
GEThttps://x402-toolbox.vercel.app/block

UptimeNot 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://x402-toolbox.vercel.app/block?chains=base%2Cethereum");
console.log(await res.json());

Example input

{
  "chains": "base,ethereum"
}