83trust / 100
Chain Status
by Otto AI in Onchain & crypto
x402 APIPassing, checked 4 h ago
Base chain status from Otto's configured RPC: latest, safe, finalized and pending heads with validated mined block hashes; pending hash nullable and provisional. Public source ID, per-head observation times and retrieval window disclose non-atomic RPC reads. Base fee, congestion, finality lag and block age at observation, separate from cache staleness. Refreshed every minute. $0.001 per call.
GET https://x402.ottoai.services/chain-status
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 91 ms typical, 91 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ottoai.services/chain-status"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%2Fx402.ottoai.services%2Fchain-status
const res = await pay("https://x402.ottoai.services/chain-status");
console.log(await res.json());Example input
{}Example output
{
"data": {
"blockAgeNote": "blockAgeSec is latest block age at latest.observedAt (seconds, floored and clamped to zero), not age...",
"blockAgeSec": 3,
"chain": "base",
"chainId": 8453,
"congestion": "low",
"finalityLagBlocks": 474,
"finalityLagSec": 948,
"finalityNote": "Base is an OP-Stack L2: ~2s soft-confirmed blocks (latest), L2-safe once the sequencer batch is subm...",
"finalized": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockHash": "0x3333333333333333333333333333333333333333333333333333333333333333",
"blockNumber": 50738081,
"blockTimeIso": "2026-09-01T11:45:09.000Z",
"blockTimestamp": 1788263109,
"gasUsedRatio": 0.0825,
"observedAt": "2026-09-01T12:01:00.200Z"
},
"generatedAt": "2026-09-01T12:01:00.400Z",
"latest": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockHash": "0x1111111111111111111111111111111111111111111111111111111111111111",
"blockNumber": 50738555,
"blockTimeIso": "2026-09-01T12:00:57.000Z",
"blockTimestamp": 1788264057,
"gasUsedRatio": 0.1088,
"observedAt": "2026-09-01T12:01:00.000Z"
},
"pending": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockHash": null,
"blockNumber": 50738556,
"blockTimeIso": "2026-09-01T12:00:59.000Z",
"blockTimestamp": 1788264059,
"gasUsedRatio": 0.0413,
"hashStatus": "provisional",
"note": "In-progress head; blockHash may be null or provisional and is never a finalized hash. An absent, mal...",
"observedAt": "2026-09-01T12:01:00.300Z"
},
"pendingLeadBlocks": 1,
"provenance": {
"note": "Separate eth_getBlockByNumber calls, not an atomic snapshot or independent finality verification. Ea...",
"observationMode": "non-atomic-rpc",
"retrievalStartedAt": "2026-09-01T12:00:59.900Z",
"retrievedAt": "2026-09-01T12:01:00.300Z",
"sourceId": "base-mainnet-public-rpc"
},
"safe": {
"baseFeePerGasGwei": 0.005,
"baseFeePerGasWei": "5000000",
"blockHash": "0x2222222222222222222222222222222222222222222222222222222222222222",
"blockNumber": 50738532,
"blockTimeIso": "2026-09-01T12:00:11.000Z",
"blockTimestamp": 1788264011,
"gasUsedRatio": 0.1893,
"observedAt": "2026-09-01T12:01:00.100Z"
}
},
"meta": {
"degraded": false,
"generatedAt": "",
"stalenessSec": 0,
"validUntil": ""
},
"status": "success"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 91 ms | $0.001 |