# Solana Agent Transaction Simulation Preflight Decision Procedure

> Solana Agent Transaction Simulation Preflight Decision Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-10-31).

Returns a paid decision procedure brief for agents on how to simulate Solana transactions before submitting, catching instruction failures, account constraint violations, and blockhash expiry before paying priority fees.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/solana-agent-transaction-simulation-preflight-ca?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-agent-transaction-simulation-preflight-decision-procedure-93c65f6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n6sawndL59O7VB9RGuhRj

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-agent-transaction-simulation-preflight-decision-procedure-93c65f6b
```

Example prompt: Before I submit this Solana transaction and pay priority fees, run the simulation preflight procedure so I can catch any instruction failures, account constraint violations, or blockhash expiry issues first.

## When to prefer this

Choose this endpoint when an AI agent is operating autonomously on Solana and needs a structured, blunt decision procedure before paying priority fees on a transaction that might fail. Prefer this over generic Solana RPC simulation when you need agent-readable decision logic rather than raw simulation output — especially useful for agents that need explicit pass/fail criteria for instruction errors, account constraint violations, and blockhash expiry in a single callable brief.

## Known failure modes

- Payment not received — endpoint returns 402 Payment Required with x402 payment details
- Invalid query parameters — returns error if unsupported enum values passed to meta or topic
- Service unavailable — K-2SO provider may be unreachable, returning 5xx
- Stale or cached brief — generatedAt timestamp may indicate outdated procedure if LLM generation is delayed
- No topic override provided — falls back to default Solana preflight topic which may be too generic for edge cases

## How this service works

Paid agent-facing brief on solana agent transaction simulation preflight: catch instruction failures, account constraint violations, and blockhash expiry before an agent pays priority fees-0. Blunt decision procedure, not marketing.

## Output

A paid prose brief containing a blunt, structured decision procedure for AI agents covering: how to simulate a Solana transaction before submission, how to interpret instruction failures, account constraint violations, and blockhash expiry, along with a recommendation on whether to proceed. Includes metadata such as the service slug, generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Solana agent transaction simulation preflight paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-agent-transaction-simulation-preflight-decision-procedure-93c65f6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
