# Seneschal Zcash Last Block Info

> Seneschal Zcash Last Block Info is a paid API for AI agents from api.seneschal.space, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the timestamp, age, hash, difficulty, and size of the most recent Zcash block.

## Facts

- Endpoint: GET https://api.seneschal.space/v1/q/zec/last-block
- 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/api-seneschal-space-3d78a305
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XIG47pbtdr1PBNpYSb8pp

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 api-seneschal-space-3d78a305
```

Example prompt: What are the details of the most recent Zcash block — its age, hash, difficulty, and size?

## When to prefer this

Use this endpoint when you need quick, lightweight metadata about the most recent Zcash block — especially timestamp, age, hash, difficulty, and size — without needing full block transaction data or chain height. Ideal for monitoring block propagation, checking liveness of the Zcash network, or auditing recent mining activity.

## Known failure modes

- Node temporarily unavailable: upstream Zcash node may be syncing or unreachable
- Payment failure: x402 micropayment of $0.001 USDC not processed correctly
- Rate limiting: too many requests in a short window
- Stale data: if node is behind, block age may appear unusually large

## How this service works

Single-fact: timestamp + age of the most recent Zcash block, plus hash, difficulty, and size.

## Output

A single-fact response containing the timestamp and age of the most recent Zcash block, along with its hash, mining difficulty, and block size.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET"
 }
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hash": "<block-hash>",
  "age_s": 75,
  "chain": "zcash",
  "height": 3171000,
  "as_of_ms": 1765532000000,
  "difficulty": 280000000,
  "size_bytes": 24000,
  "timestamp_ms": 1765531925000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-seneschal-space-3d78a305/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.seneschal.space](https://www.zero.xyz/host/api.seneschal.space/llms.txt)
