# Solana Agent Payment Fee and Compute Budget Procedure

> Solana Agent Payment Fee and Compute Budget Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Returns a machine-readable decision procedure for sizing Solana priority fees and compute unit limits for agent payment transactions, with a pass/fail verdict and fee+CU budget tuple.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/solana-agent-payment-fee-budget-procedure?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-agent-payment-fee-and-compute-budget-procedure-925bb855
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V9H5tNG_EhonaQtXPOyGB

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-payment-fee-and-compute-budget-procedure-925bb855
```

Example prompt: Give me the recommended priority fee and compute unit budget I should use for my Solana agent payment transaction right now, including how many slots to wait before retrying if it doesn't confirm.

## When to prefer this

Choose this endpoint when an AI agent needs a deterministic, machine-readable procedure for sizing Solana priority fees and compute unit limits before submitting a payment transaction — especially when avoiding congestion failures, late landings, or fee overpayment is critical. Prefer this over generic Solana RPC fee estimation when you need structured retry logic and a pass/fail verdict rather than raw fee data.

## Known failure modes

- Payment of 0.002 USDC not made — returns 402 payment required with no procedure
- Invalid query parameters return schema validation error
- Service unavailable or provider downtime returns 5xx with no procedure data
- Stale block fee data may produce outdated fee recommendations
- Topic override not recognized may yield generic rather than targeted procedure

## How this service works

Pay 0.002 USDC on Base for a machine-readable procedure that budgets Solana priority fees and compute unit limits for agent payment transactions, so a payment lands in the right slot instead of failing on congestion or overpaying. Covers priority fee sampling from recent blocks, CU limit sizing per instruction set, the failed-transaction vs landed-late failure modes, and the retry threshold when a payment does not confirm in N slots. Returns a pass/fail verdict with the fee and CU budget tuple.

## Output

A structured response containing a pass/fail verdict, a recommended priority fee value, a compute unit limit sized to the instruction set, decision procedure prose explaining the rationale, the generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp. Optionally includes payment confirmation metadata.

## 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 payment fee and compute budget procedure 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-payment-fee-and-compute-budget-procedure-925bb855/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)
