# Seneschal XMR Last Block Info

> Seneschal XMR 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-14).

Returns the timestamp, age, hash, difficulty, and size of the most recently mined Monero block.

## Facts

- Endpoint: GET https://api.seneschal.space/v1/q/xmr/last-block
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-seneschal-space-b839acf9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WVWCyne5q2Z0kubIPjJBE

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-b839acf9
```

Example prompt: What's the latest Monero block — when was it mined, what's the hash, difficulty, and size?

## When to prefer this

Use this endpoint when you need a quick, single-call lookup of the most recent Monero block's metadata (timestamp, age, hash, difficulty, size) without needing full blockchain explorer features. Ideal for monitoring Monero block production cadence, checking network liveness, or stamping data with the latest block hash.

## Known failure modes

- Node sync lag: the underlying Monero node may momentarily be out of sync, returning a stale block
- Network error: upstream Monero node unreachable, returns 5xx
- Payment failure: x402 micropayment not accepted, returns 402 with payment details
- Rate limit: too many requests in a short window, returns 429

## How this service works

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

## Output

A single-fact JSON response containing the timestamp of the most recent Monero block, its age (in seconds or human-readable duration), block hash, mining difficulty, and block size. No pagination or additional parameters required.

## Example request

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

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hash": "<block-hash>",
  "age_s": 100,
  "chain": "monero",
  "height": 3686932,
  "as_of_ms": 1765532000000,
  "difficulty": 511000000000,
  "size_bytes": 117000,
  "timestamp_ms": 1765531900000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-seneschal-space-b839acf9/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)
