# Ethereum Mainnet Block Header Lookup

> Ethereum Mainnet Block Header Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-21).

Returns the block header and up to 100 transaction hashes for a given Ethereum mainnet block number or tag (latest, finalized, safe)

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/eth-block?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-mainnet-block-header-lookup-bfce40a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RZh-ob73gTeeLc7nG1knJ

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 ethereum-mainnet-block-header-lookup-bfce40a5 -d '<json body>'
```

Example prompt: What does the latest Ethereum mainnet block look like — can you get me the block header and transaction hashes for the 'latest' tag?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.001 USDC) read-only lookup of an Ethereum mainnet block header and transaction hashes by block number or standard tag. Prefer the free sandbox endpoint (/v1/sandbox/eth-block) for testing before paying. Best suited for agents that need current chain state (latest/finalized/safe) or historical block inspection without needing full transaction details.

## Known failure modes

- Invalid block tag (not latest, finalized, or safe) returns a 400 error
- Block number out of range or not yet mined returns an error or null
- Network connectivity issues to Ethereum node may cause timeouts
- Payment not provided or incorrect amount causes a 402 Payment Required response
- Malformed JSON body causes a 400 Bad Request

## How this service works

Call when an agent needs an Ethereum mainnet block header and transaction hashes by number or tag latest, finalized, or safe. The hash list is capped at 100. Read-only eth_getBlockByNumber on eip155:1. No spend. Send JSON {"block":"latest"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/eth-block first.

## Output

Returns a block header object for Ethereum mainnet including block number, hash, parent hash, timestamp, gas used, miner, and a list of up to 100 transaction hashes contained in that block.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "block": {
   "type": "string",
   "examples": [
    "latest"
   ],
   "description": "Ethereum mainnet block number or tag latest, finalized, or safe. Example: latest. A JSON number such as 100 is accepted. Returns the header and at most 100 transaction hashes."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-mainnet-block-header-lookup-bfce40a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
