# Solana SPL Token Transfer Instruction Decoder

> Solana SPL Token Transfer Instruction 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-15).

Decodes a raw Solana SPL token transfer instruction from JSON and extracts structured transfer details including source, destination, amount, authority, and variant.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/solana_spl_transfer_decode/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-spl-token-transfer-instruction-decoder-f639d613
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v99AWCMEm4x4OL4uK-Wmt

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-transfer-instruction-decoder-f639d613 -d '<json body>'
```

Example prompt: Can you decode this Solana SPL token transfer instruction for me? Here's the raw instruction JSON: {"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","accounts":[...],"data":"..."}. I want to know the source, destination, amount, authority, and transfer variant.

## When to prefer this

Use this endpoint when you have a raw Solana SPL token transfer instruction in JSON form and need to extract its structured details (source, destination, amount, authority, variant) without making on-chain RPC calls. Ideal for transaction auditing, forensics, or agent workflows that process Solana instruction data offline. Note that mint decimals and account ownership are not resolved from chain state, so display_amount may be null.

## Known failure modes

- Invalid or malformed request_json returns an error — the input must be a valid JSON string representing a Solana instruction
- Missing required instruction fields may cause incomplete decoding with null values for authority or decimals
- Mint decimals and account ownership are not inferred from chain state — display_amount may be null
- Non-SPL transfer instructions passed in may fail to decode or return unexpected variant values
- Oversized input exceeding 65536 characters will be rejected

## 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 JSON object containing decoded SPL transfer details: source address, destination address, atomic amount, display amount (if decimals known), authority, decimals, program ID, transfer variant, account indexes, and resolved accounts. Also includes the analyzed network (solana), evidence scope, and any warnings (e.g. if mint decimals or account ownership could not be inferred).

## 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": [
    "Mint decimals and account ownership are not inferred."
   ],
   "service_id": "solana_spl_transfer_decode",
   "analysis_json": "{\"account_indexes\":[],\"amount_atomic\":\"1000\",\"authority\":null,\"decimals\":null,\"destination\":\"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA\",\"display_amount\":null,\"program_id\":\"11111111111111111111111111111111\",\"resolved_accounts\":[],\"source\":\"11111111111111111111111111111111\",\"variant\":\"transfer\"}",
   "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_transfer_decode",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "a8f72e4c59e869c5327c2b8fd760668cf72726563a07bd5a4f803c92598fe98a",
   "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-transfer-instruction-decoder-f639d613/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)
