decode_instruction
Decode Solana transaction instructions into readable format, with optional Anchor IDL for argument details.
Instructions
Decode transaction instructions into readable format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idl | No | Optional Anchor IDL for instruction argument decoding | |
| program_id | No | Optional program ID used to fetch an on-chain IDL | |
| transaction | Yes | Base64 or base58 encoded transaction | |
| instruction_index | No | Specific instruction index to decode (all if omitted) |