crypto_solana_tx_decode
Solana transaction decoder and x402 payment checker — Decode a serialized Solana transaction offline (base64, base58 or hex; legacy or v0 with address lookup tables) before signing or settling it: signatures present/missing, fee payer, recent blockhash or durable nonce, every account with signer/writable flags and labels, and every instruction decoded for System (transfers in SOL), SPL Token and Token-2022 (TransferChecked with symbol and UI amount, Approve, SetAuthority, CloseAccount, MintTo, Burn), Associated Token Account, Compute Budget and Memo; unknown programs shown with data hex and Anchor discriminator. Computes the fee (base + priority). Flags unlimited approvals, owner/authority changes, account closes to third parties, unknown programs and oversize packets → OK/REVIEW/DANGER. Accepts an x402 X-PAYMENT header or payload JSON too; optional pay_to= (recipient wallet), amount= (atomic units) and mint= (default USDC) check an x402 exact-scheme Solana payment → MATCH/MISMATCH with reasons. Signatures are not cryptographically verified. Offline; no network calls. Price: $0.004 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tx": "<tx>"
},
"name": "crypto_solana_tx_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | GLeC6hHyQoBUhGbVe6x6XHJKdXFeJauEqP8XfVpqz4eN16VZmFnDeHundU6JndUDpADijtuEycFhSzkr9wfBXacS4M7rWMm58YaHZazYqH3FfBJENui2QuXCQWtBXnYmeQWk7bt8ATXMfhaUPmRTnpThkL2TD61ZisR3s5qjq4dA3FmME5tvbYgrzFxmmSp56wtz2vPFEdkiNrUnScBAqtpUUcbyT84HXabPuDRhDLqXWmzfMCkDQvSNjKyVjL9pN5HUunXv4DSzZNkCzHh8WJ4Lzae7NWK9DQoNQF8NmuLrsHtNChvdCyAvRypPd1MfxvPEfcuiewdCv7A2fnTpbchbb8M9bhMCoUVfgY3NTZy5XjPVLgVUEtYuszeQtZxCQHgaaMw8uoDJJ62ztgMMC4N3ebBsDKv2jx5ycumLQYqvFkjZffpJ2Av7RkfND7MHFvyZsqWn1BUkshNaJmNmfz8Mb8wxfD9oEvZY4ogXzn7KdQpSHoH4UVitJLjFLo2oD9x9ExLXud3rR6ZcBBskACtF6QZ12Cd6m6kGcyox5qVpUNxzaobFtEubC4rzGV9d4WMxsb7DZ |