# Solana Token-2022 Extensions Parser

> Solana Token-2022 Extensions Parser is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-13).

Parses and decodes Solana Token-2022 account extension data from raw JSON, identifying extension types, configurations, and any anomalies.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/solana_token2022_extensions_parse/invoke
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-token-2022-extensions-parser-5a8d296f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lc2BPAz_5XnphkFLUR-5s

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-token-2022-extensions-parser-5a8d296f -d '<json body>'
```

Example prompt: Can you parse this Solana Token-2022 mint account JSON and tell me what extensions are configured on it, including any transfer fee or interest-bearing settings?

## When to prefer this

Use this endpoint when you need to programmatically inspect the extension configuration of Solana Token-2022 accounts, especially for DeFi integrations, token audits, or building tooling that must understand transfer fees, interest rates, confidential transfers, or other SPL Token-2022 extension types. Prefer this over manual RPC calls when you need structured, agent-consumable output with explicit extension typing.

## Known failure modes

- Unknown or non-standard binary extension layouts cannot be decoded without typed records — returned as unknown_types with a warning
- Malformed or truncated JSON input may cause parse failures
- Extension data exceeding 65536 characters will be rejected by input length limit
- Non-Token-2022 accounts passed as input may produce incorrect or empty extension lists

## 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 analysis including the account type (mint or token), a list of decoded extensions with their types and configurations (e.g. transfer_fee_config with basis_points), any duplicate extension entries found, any unknown extension types that could not be decoded, and parser warnings. Also includes a receipt with payment details and a SHA-256 hash of the result for verification.

## 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 decode unknown binary extension layouts without supplied typed records."
   ],
   "service_id": "solana_token2022_extensions_parse",
   "analysis_json": "{\"account_type\":\"mint\",\"duplicates\":[],\"extensions\":[{\"configuration\":{\"basis_points\":25},\"index\":0,\"type\":\"transfer_fee_config\"}],\"unknown_types\":[]}",
   "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_token2022_extensions_parse",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "15000",
   "resultSha256": "f864a99a0aabc116eeef6ccd72a7b1d5cbb5a43eaae68265f19490c5735d7821",
   "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-token-2022-extensions-parser-5a8d296f/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)
