What did this Solana transaction do?
tx_decodeEvery instruction of a Solana transaction by name, with its arguments and its accounts labelled: System, Compute Budget, SPL Token, Token-2022, Associated Token and Memo instructions from their layouts, every other program's with its on-chain IDL; the calls programs made to other programs (inner instructions); SOL and token balance changes per owner; signers, compute and fees; and every account with whether it signed or was written. Use for 'what did this transaction do?', 'decode this swap', 'what were the arguments?'.
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": {
"signature": "<signature>"
},
"name": "tx_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes | The transaction signature (base58) |