Skip to content
Fourohtwo

api.zato.org/api/chain/pending

Use when an agent wants to know how busy the chain is right now before sending or timing a transaction: the pending block as seen by public RPC nodes (transaction count, gas used/limit, base fee) next to the latest block and its age, on Ethereum (default) or Base. Node views of pending state can differ.

BaseAnswering
GEThttps://api.zato.org/api/chain/pending

Uptime100% 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://api.zato.org/api/chain/pending?network=ethereum");
console.log(await res.json());

Example input

{
  "network": "ethereum"
}

More from api.zato.orgProvider status