# Beggar Bot Solana Transaction Decoder (/v1/soltx)

> Beggar Bot Solana Transaction Decoder (/v1/soltx) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-22).

Decodes and analyzes a Solana transaction by accepting a raw transaction string and returning structured information about its contents

## Facts

- Endpoint: POST https://beggar-bot-demand.beggarbot.workers.dev/v1/soltx?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-solana-transaction-decoder-v1-soltx-fea626ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AGLVvsEtg5ComKPq8v3fL

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 beggar-bot-solana-transaction-decoder-v1-soltx-fea626ca -d '<json body>'
```

Example prompt: Decode this raw Solana transaction for me and tell me what it does: AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDk... (provide the full base64 or base58 tx string)

## When to prefer this

Use this endpoint when you need to decode or inspect a raw Solana transaction string (base58 or base64 encoded) to understand its instructions, accounts, and programs. Prefer this over manual parsing when you need a quick structured breakdown of an unknown or untrusted Solana transaction, especially in agent workflows that need to validate or audit Solana txs before signing or broadcasting.

## Known failure modes

- Invalid or malformed transaction string returns an error response
- Unsupported encoding type causes decode failure
- Missing required 'tx' field results in validation error
- Truncated or partial transaction string may fail to parse
- Payment not included or insufficient USDC ($0.02) causes 402 response

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A structured JSON object containing the decoded contents of the Solana transaction, including instructions, accounts, program IDs, and potentially other metadata such as recent blockhash and fee payer, depending on encoding and message_only flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "tx"
 ],
 "properties": {
  "tx": {
   "type": "string"
  },
  "encoding": {
   "type": "string"
  },
  "message_only": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-solana-transaction-decoder-v1-soltx-fea626ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
