# Delx Base Block By Hash

> Delx Base Block By Hash is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches a Base blockchain block header by its hash using eth_getBlockByHash via a pay-per-call x402 API.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-block-hash
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-base-block-by-hash-fbd40f0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dx3UxF8bB_PP4WI-LjoEn

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 delx-base-block-by-hash-fbd40f0a -d '<json body>'
```

Example prompt: Can you look up the Base blockchain block with hash 0x3a5f2b1c... and give me its block number, timestamp, and gas usage?

## When to prefer this

Choose this endpoint when you need to look up a specific Base L2 block by its exact hash — for example, to verify block metadata, confirm timestamps, or trace chain linkage. Prefer this over a block-by-number lookup when you have the hash but not the number. It is ideal for agents that need lightweight, pay-per-call blockchain data access without managing their own RPC node or API key for Base.

## Known failure modes

- Invalid or malformed block hash returns an error or null result
- Block hash not found on Base network returns null
- Payment failure (insufficient USDC balance) blocks the request via x402 protocol
- Network timeout if Base RPC node is temporarily unavailable
- Passing an Ethereum mainnet hash instead of a Base chain hash may return null

## How this service works

Base block header by hash for $0.001 USDC via eth_getBlockByHash. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the block header fields for the specified Base chain block hash, including block number, timestamp, parent hash, miner/coinbase address, gas limit, gas used, transactions root, state root, receipts root, difficulty, and extra data — equivalent to the eth_getBlockByHash JSON-RPC response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "block_hash": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "tool_name": "get_base_block_by_hash"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base-block-by-hash-fbd40f0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
