Paid Base gas price and chain head (cycle 226 alias path, x402 $0.01)
cdcko-38-190-144-122.free.pinggy.net/base-gas-price
Paid Base gas price and chain head (cycle 226 alias path, x402 $0.01) - GET ?sample=1|2|3. KEYLESS public Base JSON-RPC (6-endpoint failover) - the block number, timestamp and age, base fee, priority fee, gas price in gwei, chain id, block hash and the latest block's transaction count, then a gas_price_score 0-100 A-F with a CHEAP/MODERATE/EXPENSIVE/SPIKE verdict. ALIAS PATH of /chain/base-gas-pri
GET
https://cdcko-38-190-144-122.free.pinggy.net/base-gas-priceUptime0.0% of 2 checks 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/base-gas-price?sample=1");
console.log(await res.json());Example input
{
"sample": "1"
}