# Solana Agent Treasury Reserve Sizing Procedure

> Solana Agent Treasury Reserve Sizing 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 deterministic decision procedure for sizing an agent wallet's SOL/token reserve when paying via x402 on Solana, covering rent-exempt minimums, priority-fee budgets, sweep/top-up thresholds, and fee-on-transfer/freeze hazard checks.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/solana-agent-finance-and-treasury-deterministic?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-treasury-reserve-sizing-procedure-d2f32a9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rt43OreRuToEqokGca3j9

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-treasury-reserve-sizing-procedure-d2f32a9c
```

Example prompt: What's the correct procedure for sizing my Solana agent wallet's treasury reserve for x402 payments — including rent-exempt minimums for token accounts, priority-fee budget per settlement, and how to check for fee-on-transfer or freeze hazards before committing funds?

## When to prefer this

Choose this endpoint when an AI agent needs Solana-specific treasury sizing guidance for x402 payments — particularly when EVM-generic treasury advice is insufficient, when rent-exempt account minimums and priority fees matter, or when the agent must perform fee-on-transfer/freeze hazard checks before committing funds. Prefer over generic treasury allocation endpoints when the settlement rail is Solana, not EVM.

## Known failure modes

- Missing or malformed 'input' object returns a 400-level validation error
- Payment not provided or declined results in a 402 Payment Required response with x402 payment details
- Invalid 'method' enum value (not GET/HEAD/DELETE) causes schema validation failure
- Service unavailable or provider error returns ok:false with no brief field
- Stale or cached procedure may not reflect latest Solana protocol changes

## How this service works

Paid agent-facing brief on Solana agent finance and treasury: deterministic procedure for an agent wallet paying via x402 on Solana rails to size its reserve correctly, rent-exempt minimums for token accounts, priority-fee budget per settlement, sweep and top-up thresholds, and fee-on-transfer / freeze hazard checks before committing funds. Distinct from asset-model verification (that checks what the token permits) and from generic treasury allocation (that assumes EVM).-0. Blunt decision

## Output

A JSON response containing a plain-prose decision procedure (120+ words) covering: rent-exempt SOL minimums for token accounts, priority-fee budget per x402 settlement, sweep and top-up threshold rules, and fee-on-transfer/freeze hazard checks. Also includes the topic, service slug, generation source (deterministic/llm/reasoning), and ISO-8601 timestamp of generation.

## 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 treasury reserve sizing 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)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "brief": "plain prose decision procedure (120+ words)",
   "model": "deepseek/deepseek-v4-flash-0731",
   "topic": "string topic",
   "service": "solana-agent-finance-and-treasury-deterministic",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "solana-agent-finance-and-treasury-deterministic",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-agent-treasury-reserve-sizing-procedure-d2f32a9c/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)
