# TraceFast Ethereum Block by Height

> TraceFast Ethereum Block by Height is a paid API for AI agents from mpp.tracefast.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Fetches a single Ethereum mainnet block by its height, returning its header fields and aggregate statistics about its contents.

## Facts

- Endpoint: GET https://mpp.tracefast.xyz/api/v1/chains/1/blocks/:number?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tracefast-ethereum-block-by-height-c88e4c43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iV4uC6OQp7T4la6L4GHs-

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 tracefast-ethereum-block-by-height-c88e4c43
```

Example prompt: Pull the full block summary for Ethereum block 20500000 — I need the header details like the fee recipient, base fee, blob gas, and the totals for transactions, logs, and fees burnt.

## When to prefer this

Use this endpoint when you need a fast, structured snapshot of a single Ethereum block by its canonical height — including both header metadata and aggregated content statistics in one call. Prefer this over raw RPC (eth_getBlockByNumber) when you want pre-computed totals (value moved, fees burnt, blob gas) without parsing raw transaction lists yourself. Best suited for analytics, reconciliation, or monitoring tasks focused on a known block number.

## Known failure modes

- Block number not yet mined — future height returns 404 or empty
- Invalid block number format (non-integer or negative) returns 400
- Block height beyond current chain tip returns not-found error
- Network or provider outage returns 5xx
- Payment not completed (x402 protocol failure) blocks the request

## How this service works

TraceFast live Ethereum data: one block by height — its header (hash, parent, roots, fee recipient, gas, base fee, blob gas) and the totals of what it contains: transactions by outcome, contract creations, blob transactions, logs, withdrawals, value moved, fees burnt and paid. Path number: Block height. Docs: https://docs.tracefast.xyz/api/block.md

## Output

Returns a structured object for the requested Ethereum block containing: header fields (block hash, parent hash, state root, transactions root, receipts root, fee recipient/coinbase, gas used, gas limit, base fee per gas, blob gas used, excess blob gas) and aggregate content statistics (transaction counts by outcome — success/failure/pending, contract creation count, blob transaction count, log count, withdrawal count, total ETH value moved, total fees burnt, total fees paid to validator).

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tracefast-ethereum-block-by-height-c88e4c43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.tracefast.xyz](https://www.zero.xyz/host/mpp.tracefast.xyz/llms.txt)
