Look up Subtensor item
subtensor_lookupRead-onlyIdempotent
Get detailed info about a specific pallet, event, call, storage item, constant, error, SCALE type, RPC method, protocol account, or EVM precompile. Accepts URN identifiers with optional #field.path drilling.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub | No | For type="account": derive a sub-account. A number is a netuid or crowdloan id; a string is an 8-byte tag such as "beta/esc". Index 0 collapses onto the base address. | |
| urn | No | URN identifier (e.g., 'subtensor:event:SubtensorModule.StakeAdded', 'subtensor:storage:System.Account#data.free', 'subtensor:api:SwapRuntimeApi.sim_swap_tao_for_alpha', 'subtensor:account:SubtensorModule.SubtensorPalletId#64', 'subtensor:precompile:StakingV2'). `subtensor:runtime_api:...` is accepted as an alias for `subtensor:api:...`. Supports field-path drilling with # for event/call/storage/type items (for account items, #fragment is a sub-index instead). Alternative to type+pallet+name. Takes precedence if both provided. | |
| name | No | Item name (e.g., 'SubtensorModule', 'StakeAdded', 'add_stake', 'AccountId32', 'pruning', 'pow-faucet') or type ID number. For type="account": the declaring key ('SubtensorModule.SubtensorPalletId'). For type="precompile": a name ('StakingV2') or 0x address. | |
| type | No | What kind of item to look up | |
| format | No | Response format: 'text' (compact, default) or 'json' (structured) | |
| pallet | No | Pallet name — required for event/call/storage/constant/error lookups (e.g., 'SubtensorModule') | |
| address | No | For type="account": an SS58 address to identify. Returns which protocol account it is, including the sub-index, or reports that it is an ordinary wallet. | |
| include | No | For pallet lookup: filter to a specific item type with descriptions | |
| language | No | Field name casing for your language. TypeScript shows camelCase (tickLow), others show snake_case (tick_low). Overrides session preference. | |
| preferences | No | Preferences handle from subtensor_preferences(action="set"). Carries language/node_url/node_type without a session. Explicit arguments on this call take precedence over the handle. | |
| include_history | No | Include full argument signatures for each version range (events/calls only) | |
| include_removed | No | Include removed/historical items (default: false) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | Item kind, mirrors the request type | |
| pallet | No |