Subtensor Reference
Complete technical documentation for runtime v490
Browse by Category
Point your AI agent at our API →Pallets
Modules that organize blockchain functionality. Each pallet groups related calls, events, and storage.
Examples: SubtensorModule handles all staking and subnet operations
Mechanisms
Runtime algorithms and processes that power Subtensor. See how calls, events, and storage connect together.
Examples: Yuma Consensus, Block Emission, Subnet Emission Shares
Calls
Actions you can submit to the blockchain. These are your main way to interact with Subtensor.
Use these to stake, register, set weights, and interact with subnets.
Examples: add_stake, register, set_weights
Events
Notifications emitted when something happens on-chain. Subscribe to these to track changes.
Build dashboards, trigger alerts, or audit on-chain activity in real time.
Examples: StakeAdded, NeuronRegistered
Storage
On-chain data you can query. This is the current state of the blockchain.
Build UIs showing balances, stakes, subnet status, and validator info.
Examples: TotalStake, Neurons, Subnets
Constants
Fixed values defined in the runtime. These don't change without an upgrade.
Check limits and defaults before submitting calls.
Examples: MaxAllowedValidators, DefaultTake
Errors
Error codes returned when a call fails. Use these to understand what went wrong.
Debug failed transactions and add proper error handling to your app.
Examples: NotEnoughBalanceToStake, SubNetworkDoesNotExist
Versions
Runtime version history showing how Subtensor evolved. Track changes across upgrades.
Examples: v290 dTAO, v360 CRV3, v377 current
Runtime Errors
Error types returned by failed extrinsics. Covers all non-pallet errors like BadOrigin and token failures.
Examples: BadOrigin, Token(FundsUnavailable), Arithmetic(Overflow)
Extrinsic Format
How signed extrinsics are structured: the 12 signed extensions that define payload fields, and the pallet index mapping.
Examples: CheckNonce, CheckMortality, ChargeTransactionPayment
Protocol Accounts
The chain-owned addresses derived from PalletId constants: subnet sovereign accounts, the burn account, crowdloan funds, and the basket escrow.
Identify an address from a block explorer, or derive the reserve account for any subnet.
Examples: Subnet Sovereign Account, Burn Account, Beta Basket Escrow
Runtime APIs
Functions exposed by the runtime for direct querying. Every method you can call without submitting an extrinsic.
Query chain state, validate transactions, and access custom Subtensor data like delegate info and subnet details.
Examples: Core.version, NeuronInfoRuntimeApi.get_neurons, SubnetInfoRuntimeApi.get_subnets_info
JSON-RPC Methods
The low-level transport API every Subtensor node exposes over HTTP and WebSocket. SDKs call these under the hood.
Call methods directly for lightweight integrations, debugging, or languages without an SDK.
Examples: state_getStorage, chain_getBlock, system_health, author_submitExtrinsic
EVM Precompiles
Contracts at fixed addresses that let Solidity code call into pallets: staking, subnet registration, metagraph reads, crowdloans and proxies.
Build EVM contracts against Subtensor without leaving Solidity.
Examples: IStaking (0x…0801), ISubnet (0x…0803), IMetagraph (0x…0802)
SCALE Types
All 868 SCALE type definitions used in runtime metadata for encoding and decoding chain data.
Examples: AccountId32, DispatchError, Compact<u64>
Most Active On-Chain
Through block 9,385,000Browse by Pallet
Bittensor Core
The heart of Bittensor - subnets, staking, validation, and emissions
SubtensorModule
The main Bittensor pallet containing all subnet, staking, and consensus logic
Registry
Identity and naming registry for network participants
Removed in v423
Commitments
Cryptographic commitment scheme for secure data submission
AdminUtils
Administrative utilities for network management
SafeMode
Emergency pause and safety controls
AlphaAssets
Per-subnet alpha token accounting
Economy & Balances
TAO token management, transfers, and transaction fees
Consensus & Finality
Block production, finality, and chain security
Aura
Authority Round consensus for block production
Grandpa
GHOST-based Recursive Ancestor Deriving Prefix Agreement
Drand
Distributed randomness beacon integration
MevShield
MEV protection mechanisms
Governance & Admin
Chain governance, admin controls, and emergency functions
Utility & Tools
Batch operations, proxies, multisig, and scheduling
Utility
Batch operations and call dispatching
Multisig
Multi-signature account operations
Preimage
Preimage storage for hashed data
Scheduler
Delayed and periodic execution
Proxy
Proxy account delegation
EVM & Smart Contracts
Ethereum compatibility and smart contract execution
Ethereum
Ethereum block and transaction handling
EVM
Ethereum Virtual Machine execution
EVMChainId
EVM chain identifier
BaseFee
EIP-1559 base fee management
Contracts
WASM smart contracts (ink!)
Core Infrastructure
Fundamental runtime components and system functions
Removed Pallets
Pallets that have been removed from the runtime
Triumvirate
Former governance body for network decisions
Removed in v334
TriumvirateMembers
Membership management for Triumvirate council
Removed in v334
Senate
Original governance body
Removed in v133
SenateMembers
Membership management for Senate
Removed in v334
DynamicFee
Dynamic fee adjustment mechanism
Removed in v233