describe_program
Introspect ANY specific program/contract address on a chain. Solana/Slonana: returns executable, owner, data size, and whether it is a known program. EVM: RPC-verified facts (is-contract, code size, ERC-20 name/symbol/decimals, EIP-1967 proxy → implementation) PLUS Blockscout explorer enrichment when available.
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": {
"chain": "<chain>",
"address": "<address>"
},
"name": "describe_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | solana | slonana | robinhood | hyperevm | ethereum | base | stable | plasma | tempo | codex | |
| address | Yes | Program id (base58, Solana/Slonana) or contract address (0x…, EVM) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| erc20 | No | ERC-20 name/symbol/decimals. EVM only — omitted when the address is not an ERC-20, or the chain is Solana/Slonana | |
| known | No | curated registry entry {id,name,type,note} when the address is recognised | |
| owner | No | owning program. Solana/Slonana only — omitted when the chain is EVM | |
| proxy | No | EIP-1967 proxy standard + implementation. EVM only — omitted when the address is not a proxy, or the chain is Solana/Slonana | |
| exists | No | Solana/Slonana only — omitted when the chain is EVM (isContract is the EVM equivalent) | |
| address | Yes | ||
| dataLen | No | account data length in bytes. Solana/Slonana only — omitted when the chain is EVM (codeSize is the EVM equivalent) | |
| codeSize | No | EVM bytecode length in bytes. EVM only — omitted when the chain is Solana/Slonana (dataLen is the Solana equivalent) | |
| lamports | No | Solana/Slonana only — omitted when the chain is EVM | |
| isProgram | No | Solana/Slonana only — omitted when the chain is EVM | |
| executable | No | Solana/Slonana only — omitted when the chain is EVM | |
| isContract | No | EVM only — omitted when the chain is Solana/Slonana, where executable/isProgram carry this instead |