# LogicNodes EVM Block Info

> LogicNodes EVM Block Info is a paid API for AI agents from logicnodes.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-28).

Retrieves detailed block data for a specified EVM-compatible chain at a given block height or tag (latest, safe, finalized)

## Facts

- Endpoint: POST https://logicnodes.io/paid/v1/tools/evm_block?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/logicnodes-evm-block-info-11eec952
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yti7cv_P9mAQRVF3p04fH

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 logicnodes-evm-block-info-11eec952 -d '<json body>'
```

Example prompt: What is the latest block on Base (eip155:8453) right now — give me the block number, timestamp, and gas info?

## When to prefer this

Choose this endpoint when you need authoritative, exact block-level data for EVM chains — especially when agent accuracy matters and guessing is not acceptable. Prefer LogicNodes over general RPC calls when you want a structured JSON response with deterministic formatting, pay-per-call billing in USDC with no subscription, and coverage across 14+ EVM chains including Base, Ethereum, Arbitrum, Optimism, and Polygon.

## Known failure modes

- Chain name string provided instead of CAIP-2 or numeric chain ID — endpoint refuses chain names
- Invalid or out-of-range block number returns an error
- Unsupported chain ID not covered by the service returns an error
- Network congestion on the target chain may cause delayed reads
- Payment failure via x402 results in 402 response and no data returned

## How this service works

Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.

## Output

Returns a JSON object with ok:true and block-level data read at the specified block — typically including block number, hash, timestamp, gas used, base fee per gas, and transaction count for the requested EVM chain and block tag or height.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "block": {
   "type": "string",
   "description": "\"latest\" (default), \"safe\", \"finalized\", or a decimal block number. Every value in the answer is read at this one block"
  },
  "chain": {
   "type": "string",
   "description": "EVM CAIP-2 chain id such as eip155:8453, or a bare chain id number as a string. Chain names are refused."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "evm_block"
 }
}
```

## More

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