80trust / 100
Chain Block Number
by Tanod chainpeek in Onchain & crypto
x402 APIPassing, checked 2 h ago
chainpeek (Tanod) latest block number, timestamp and age in seconds of Ethereum, Base or Robinhood Chain. Use when an agent needs the latest block number of Ethereum, Base or Robinhood Chain, with its timestamp and age in seconds.
POST https://tanod.dev/v1/chain/block-number
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 277 ms typical, 739 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/chain/block-number' \
-H 'content-type: application/json' \
--data-raw '{"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%2Ftanod.dev%2Fv1%2Fchain%2Fblock-number
const res = await pay("https://tanod.dev/v1/chain/block-number", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"chain\":\"base\"}",
});
console.log(await res.json());Example input
{
"chain": "base"
}Example output
{
"age_seconds": 1,
"block_number": 52396570,
"block_time": "2026-10-09T21:48:07Z",
"block_timestamp": 1791582487,
"chain": "base",
"note": "RPC reads are cached up to 30 s"
}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 353 ms | $0.001 |
| 6 h ago | Passed | 402 | 260 ms | $0.001 |
| 10 h ago | Passed | 402 | 279 ms | $0.001 |
| 14 h ago | Passed | 402 | 606 ms | $0.001 |
| 18 h ago | Passed | 402 | 267 ms | $0.001 |
| 21 h ago | Passed | 402 | 268 ms | $0.001 |
| 25 h ago | Passed | 402 | 275 ms | $0.001 |
| 28 h ago | Passed | 402 | 316 ms | $0.001 |
| 32 h ago | Passed | 402 | 403 ms | $0.001 |
| 36 h ago | Passed | 402 | 884 ms | $0.001 |
| 39 h ago | Passed | 402 | 277 ms | $0.001 |
| 43 h ago | Passed | 402 | 274 ms | $0.001 |
| 47 h ago | Passed | 402 | 275 ms | $0.001 |
| 2 days ago | Passed | 402 | 739 ms | $0.001 |
| 2 days ago | Passed | 402 | 262 ms | $0.001 |