# Solana Slot & Blockhash Info

> Solana Slot & Blockhash Info is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-15).

Returns the current finalized Solana slot, block height, latest block time, and a recent blockhash with its last valid height for transaction construction.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/solana-slot?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-slot-blockhash-info-b60d5465
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4-OtA5ooIQtZjgPpXkvhe

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 solana-slot-blockhash-info-b60d5465 -d '<json body>'
```

Example prompt: What's the current finalized Solana slot and block height right now, and can you give me a recent blockhash I can use to build a transaction?

## When to prefer this

Use this endpoint when you need to prepare or sign a Solana transaction and require a fresh blockhash, or when you need to know the current chain state (slot, block height, block time) without running your own Solana RPC node. Prefer this over raw Solana RPC calls when you want a simple, pre-formatted REST API response.

## Known failure modes

- Solana RPC node temporarily unavailable — may return 5xx error
- Blockhash may expire quickly if not used promptly after retrieval
- Network congestion may cause stale or delayed slot data
- POST body must be valid JSON even if empty; malformed request returns 400

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object with: finished_slot (current finalized slot number), block_height (current block height), block_time (ISO 8601 timestamp of the latest block), recent_blockhash (a base58-encoded blockhash string usable in transactions), and valid_until_height (the last block height at which the blockhash remains valid).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "block_time": {
       "type": [
        "string",
        "null"
       ]
      },
      "block_height": {
       "type": [
        "number",
        "null"
       ]
      },
      "finished_slot": {
       "type": [
        "number",
        "null"
       ]
      },
      "recent_blockhash": {
       "type": [
        "string",
        "null"
       ]
      },
      "valid_until_height": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block_time": "2026-10-02T20:10:19+00:00",
  "block_height": 452713747,
  "finished_slot": 452713715,
  "recent_blockhash": "7CVwLTDZS2SvWn6AEMj8got6FZzs6X9cqxNBgYVfydVs",
  "valid_until_height": 430752509
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-slot-blockhash-info-b60d5465/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
