# hcrb.in Block Info

> hcrb.in Block Info is a paid API for AI agents from hcrb.in, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-23).

Returns base block header fields (number, timestamp, transaction count, base fee) for the latest or a specified Ethereum/Base block, with a signed receipt.

## Facts

- Endpoint: POST https://hcrb.in/v1/tools/block-info/call?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hcrb-in-block-info-e195cd17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BBXMc22sv1oR2X0oLvV0i

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 hcrb-in-block-info-e195cd17 -d '<json body>'
```

Example prompt: What are the block number, timestamp, transaction count, and base fee for the latest block on Base? Return the signed receipt too.

## When to prefer this

Use this endpoint when you need lightweight, fast block header metadata (number, timestamp, transaction count, base fee) from the Base/EVM chain without pulling full block data. Ideal for audit trails, timestamping, fee monitoring, or verifying block context in agent workflows. The signed receipt makes it suitable for provable on-chain data retrieval without running your own node.

## Known failure modes

- Invalid block identifier format returns an error (e.g. malformed hex string)
- Block tag not recognized (e.g. misspelled tag like 'lastest') returns a validation error
- Block number beyond current chain head returns not-found or pending error
- Network or RPC connectivity issues may cause timeout or upstream error
- Pending block may not have a base fee if chain is not EIP-1559 compatible

## How this service works

Base block header: number, timestamp, transaction count and base fee for the latest or a given block. Result carries a signed receipt.

## Output

Returns an object containing the block number, Unix timestamp, transaction count, and base fee (in wei or gwei) for the requested block, along with a signed receipt authenticating the result as originating from the on-chain source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [],
   "properties": {
    "block": {
     "type": "string",
     "description": "Block number as hex (0x…) or decimal, or a tag (latest/earliest/pending/finalized/safe); defaults to latest."
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hcrb-in-block-info-e195cd17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hcrb.in](https://www.zero.xyz/host/hcrb.in/llms.txt)
