Decode a Solana account
account_decodeAny Solana account's data as named fields: an Anchor program's account decoded with the owner's on-chain IDL (the account type found by its discriminator), an SPL Token or Token-2022 mint or token account, an upgradeable program or its program data, a Squads v4 multisig, or a plain wallet. Says plainly when the owner publishes no IDL. Use for 'what's in this account?', 'decode this pool / vault / config', 'what are this market's parameters?'.
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": {
"address": "<address>"
},
"name": "account_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The account's address (base58) |