Developer Docs
Look up any call, event, or storage item with code examples. Runtime v472 · Block #9,197,056
Developer documentation for the Subtensor blockchain, part of the Bittensor decentralized AI network. Pick a pallet below to look up its calls, events, storage, constants, and errors, with copy-ready code examples in TypeScript, Python, and Rust. For in-depth explanations, version history, and relationships between items, see the Reference section.
SubtensorModule
754 itemsSets the caller weights for the incentive mechanism. The call can be
84 calls· 154 events· 273 storage· 70 constants· 173 errors
Commitments
22 itemsSet the commitment for a given netuid
2 calls· 4 events· 8 storage· 3 constants· 5 errors
Balances
54 itemsTransfer some liquid free balance to another account.
9 calls· 22 events· 7 storage· 4 constants· 12 errors
Swap
31 itemsSet the fee rate for swaps on a specific subnet (normalized value).
6 calls· 1 events· 7 storage· 4 constants· 13 errors
Account Operations
Proxy
40 itemsSee [`Pallet::proxy`].
12 calls· 8 events· 4 storage· 6 constants· 10 errors
Multisig
28 itemsImmediately dispatch a multi-signature call using a single approval from the caller.
5 calls· 5 events· 1 storage· 3 constants· 14 errors
Utility
19 itemsSend a batch of dispatch calls.
8 calls· 8 events· 1 constants· 2 errors
Smart Contracts
EVM
31 itemsWithdraw balance from EVM into currency/balances pallet.
6 calls· 5 events· 5 storage· 15 errors
Ethereum
10 itemsTransact an Ethereum transaction.
1 calls· 1 events· 6 storage· 2 errors
Contracts
77 itemsDeprecated version if [`Self::call`] for use in an in-storage `Call`.
10 calls· 10 events· 7 storage· 13 constants· 37 errors
Administration
Infrastructure
System
53 itemsMake some on-chain remark.
11 calls· 8 events· 19 storage· 6 constants· 9 errors
Aura
3 items2 storage· 1 constants
Grandpa
23 itemsSee [`Pallet::report_equivocation`].
3 calls· 3 events· 7 storage· 3 constants· 7 errors
Timestamp
4 itemsSet the current time.
1 calls· 2 storage· 1 constants
RandomnessCollectiveFlip
1 items1 storage
TransactionPayment
4 itemsA transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1 events· 2 storage· 1 constants
SafeMode
30 itemsEnter safe-mode permissionlessly for [`Config::EnterDuration`] blocks.
8 calls· 8 events· 2 storage· 5 constants· 7 errors
Drand
20 itemsVerify and write a pulse from the beacon into the runtime
3 calls· 3 events· 6 storage· 2 constants· 6 errors
MevShield
37 itemsRotate the key chain and announce the current author's ML-KEM encapsulation key.
7 calls· 12 events· 14 storage· 4 errors
Crowdloan
62 itemsCreate a crowdloan that will raise funds up to a maximum cap and if successful,
10 calls· 11 events· 6 storage· 7 constants· 28 errors
EVMChainId
1 items1 storage
BaseFee
7 items2 calls· 3 events· 2 storage
Scheduler
31 itemsSee [`Pallet::schedule`].
10 calls· 10 events· 4 storage· 2 constants· 5 errors
Preimage
19 itemsRegister a preimage on-chain.
5 calls· 3 events· 3 storage· 8 errors