# AmanChain Block Inspector

> AmanChain Block Inspector is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.003732/call, status unknown (last checked 2026-09-14).

Retrieves detailed on-chain block data from the AmanChain node against live consensus state, including transactions, balances, and block metadata

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-block-inspect
- Price: $0.003732/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-block-inspector-28cef3bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PRSakjo3WYTQtmToA_oRv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability amanchain-block-inspector-28cef3bf -d '<json body>'
```

Example prompt: Can you inspect block #1048576 on AmanChain and show me the transactions and balances included in it?

## When to prefer this

Use this endpoint when you need deterministic, node-executed block-level data from AmanChain's live consensus state — particularly for auditing specific blocks, verifying transaction inclusion, or fetching on-chain state at a given block height. Prefer this over general blockchain explorers when working within the AmanChain ecosystem and needing pay-per-call access without API keys.

## Known failure modes

- Block not found — invalid block number or hash returns an error
- Node sync lag — block may not yet be indexed if very recent
- Malformed request body — missing or incorrect serviceId or request field
- Payment failure — x402 USDC payment on Base not settled, request rejected
- Rate or quota limits — too many concurrent calls may be throttled

## How this service works

Block inspector — full block detail by height: hash, miner, timestamp and the complete transaction list. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-block-inspect","request":"<input>"}.

## Output

Returns structured on-chain block data from AmanChain's live consensus state, including block metadata (number, hash, timestamp), included transactions, balances, and pool state as of that block — executed deterministically by the node.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-block-inspector-28cef3bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
