Solana instruction discriminator lookup (free)
lookup_solana_instructionLook up a Solana program instruction from instruction data, an Anchor discriminator, a native instruction tag, or an instruction name. Returns matching programs, account lists, argument types and page URLs from a bundled IDL snapshot. No RPC. Programs can upgrade; computed Anchor discriminators are labelled as computed. Free, no payment needed. Use when you have instruction data or a discriminator and need to know which instruction it is.
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": {
"data": "<data>"
},
"name": "lookup_solana_instruction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Instruction data (hex or base58), a discriminator (e.g. 0xe517cb977ae3ad2a), or an instruction name (e.g. route or SetComputeUnitLimit). | |
| program_id | No | Optional program ID, slug or name to narrow matches (e.g. jupiter-v6 or JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4). |