83trust / 100
Chain Block Number
by Latest Block Number in Onchain & crypto
x402 APIPassing, checked 17 min ago
The current chain tip (latest block height) via eth_blockNumber, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The freshness read settlement, indexing and trading agents poll to know where the chain is. Live public RPC; one paid call.
GET https://store.agentexchange.work/chain/block-number
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 155 ms typical, 155 ms slowest 5%
- Last check
- 17 min ago
- Next check
- in 15 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://store.agentexchange.work/chain/block-number?chain=base"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fstore.agentexchange.work%2Fchain%2Fblock-number
const res = await pay("https://store.agentexchange.work/chain/block-number?chain=base");
console.log(await res.json());Example input
{
"chain": "base"
}Example output
{
"block_number": 47234186,
"chain": "base"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 17 min ago | Passed | 402 | 155 ms | $0.001 |
| 4 h ago | Passed | 402 | 179 ms | $0.001 |
| 9 h ago | Passed | 402 | 140 ms | $0.001 |