Paid chain block number read on Base (cycle 227, x402 $0.01)
cdcko-38-190-144-122.free.pinggy.net/chain/block-number
Paid chain block number read on Base (cycle 227, x402 $0.01) - GET ?sample=1|2|3 OR POST application/json {}. KEYLESS public Base JSON-RPC with 6-endpoint failover - no key, no account, no signup. Returns the current block number, the block timestamp and its age in seconds, the gas used, the transaction count, the base fee, the block hash and the chain id, then a block_freshness_score 0-100 A-F wi
GET
https://cdcko-38-190-144-122.free.pinggy.net/chain/block-numberUptime0.0% of 1 check in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://cdcko-38-190-144-122.free.pinggy.net/chain/block-number?sample=1");
console.log(await res.json());Example input
{
"sample": "1"
}