# Solana SPL Token Account Decoder

> Solana SPL Token Account Decoder is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Decodes and parses raw Solana SPL token account data into structured fields including mint, owner, amount, delegate, and account state.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/solana_spl_token_account_decode/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-spl-token-account-decoder-384fa01b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-vhJ21eYUmRHr0EWwTbq3

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-spl-token-account-decoder-384fa01b -d '<json body>'
```

Example prompt: Can you decode this Solana SPL token account data and tell me the mint address, owner, token amount, and account state? Here's the raw account JSON: {account_data_json}

## When to prefer this

Use this endpoint when you have raw or serialized Solana SPL token account data and need to extract structured fields like mint, owner, balance, or delegate without running a full Solana RPC node. Ideal for agents processing on-chain data offline or verifying token account contents before executing transactions.

## Known failure modes

- Malformed or invalid JSON input returns a parse error
- Account data that does not conform to SPL token account layout may produce null fields or warnings
- The service does not authenticate the data source — caller-supplied data is decoded as-is, so spoofed data will decode without error
- Missing required request_json field causes a validation error

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a structured JSON analysis with fields: mint address, owner address, atomic token amount, display amount, decimals, delegate address, delegated amount, close authority, native reserve info, and account state (e.g. 'initialized'). Also includes warnings (e.g. about data source authenticity), the analyzed network, and evidence scope.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Does not authenticate the account data source."
   ],
   "service_id": "solana_spl_token_account_decode",
   "analysis_json": "{\"amount_atomic\":\"1000\",\"close_authority\":null,\"decimals\":null,\"delegate\":null,\"delegated_amount\":null,\"display_amount\":null,\"is_native_reserve\":null,\"mint\":\"11111111111111111111111111111111\",\"owner\":\"11111111111111111111111111111111\",\"state\":\"initialized\"}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "solana"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "solana_spl_token_account_decode",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "e8d1da4aa5cc2e0d189ba32424c2b0656d2101bffcdbc4c0316039593fbe00fa",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-spl-token-account-decoder-384fa01b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
