# Chain Block Info

> Chain Block Info is a paid API for AI agents from chain.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Retrieves block details (timestamp, hash, transaction count, gas used/limit, base fee, proposer) by block number or latest, across Base, Ethereum, Arbitrum, Optimism, Polygon, and BSC.

## Facts

- Endpoint: GET https://chain.intel.rallylive.ca/chain/block?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-block-info-7e33f50b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3oVDSjvazvYz0CuBCJw1Y

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 chain-block-info-7e33f50b
```

Example prompt: What are the details of the latest block on Ethereum — give me the timestamp, hash, transaction count, gas used, base fee, and proposer.

## When to prefer this

Use this endpoint when you need detailed metadata about a specific block (or the latest block) on any of the supported EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon, BSC). It is ideal for monitoring block production, inspecting gas conditions at a point in time, verifying block finality, or retrieving proposer information. Prefer it over block-number-only endpoints when you need more than just the latest block number.

## Known failure modes

- Invalid or out-of-range block number returns an error or empty result
- Unsupported chain prefix causes a bad request or unknown chain error
- Network congestion or RPC unavailability may cause timeouts
- Missing or malformed query parameters may return a 400-level error
- Payment not fulfilled (x402) results in a 402 Payment Required response

## How this service works

Block by number (or latest): time, hash, transaction count, gas used and limit, base fee, proposer. Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:, bsc:. $0.01 per call.

## Output

Returns a structured object for the requested block containing: block timestamp (Unix time), block hash, number of transactions, gas used, gas limit, base fee per gas, and the proposer/validator address. Defaults to the Base chain unless another chain prefix is specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chain-block-info-7e33f50b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.intel.rallylive.ca](https://www.zero.xyz/host/chain.intel.rallylive.ca/llms.txt)
