blockchain-api.x402-chain-tools.workers.dev
Check the latest or current Base Mainnet block number. Use this to get the live Base block height. (4 paid endpoints on blockchain-api.x402-chain-tools.workers.dev.)
Call via Rooms
Rooms resells calls to blockchain-api.x402-chain-tools.workers.dev: you make one x402 payment to Rooms, Rooms pays blockchain-api.x402-chain-tools.workers.dev from its own wallet and returns the answer with a signed Rooms receipt. Never charged when the call fails. No account or API key.
$0.002 per call, all in (blockchain-api.x402-chain-tools.workers.dev's listed price $0.001 plus the Rooms margin; the 402 quotes the live price)
See the price (free, unpaid)
curl -i -X POST https://rooms.aurmada.com/x402/v1/broker/blockchain-apix402-chain-toolsworkersdev -H 'Content-Type: application/json' -d '{"path":"/chain/block","query":{}}'
Send {"path", "method", "query", "body"}: path is one of the paid endpoints below (default /chain/block), query and body go to blockchain-api.x402-chain-tools.workers.dev as given. Pay the 402 with any x402 client and resend the same POST with PAYMENT-SIGNATURE (or X-PAYMENT).
New to paying per call? x402 for agents explains the 402 → pay → retry loop.
Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "blockchain-apix402-chain-toolsworkersdev" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="blockchain-apix402-chain-toolsworkersdev")Track record
- Uptime
- Collecting: shown after 3 daily checks.
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Paid endpoints (4)
- POST /chain/block $0.002 via RoomsCheck the latest or current Base Mainnet block number. Use this to get the live Base block height.
- POST /chain/transaction-receipt-status $0.003 via RoomsCheck Base transaction receipt status by transaction hash. Determine whether the transaction is pending, confirmed successful, or confirmed reverted, with receipt, block, and gas details.
- POST /chain/transaction-lookup $0.003 via RoomsLookup Base transaction by hash on Base Mainnet. Return sender, recipient, value, nonce, block, gas fields, and input data when found.
- POST /chain/balance $0.002 via RoomsCheck the native ETH balance or gas balance of a Base wallet address. Use this to see how much Base ETH the wallet has.
Automated check
Not checked yet. Checks run in the background.