Storage
This page contains storage query definitions for the Subtensor runtime. Accessible via api.query.<Pallet>.<storage_item>.
Generated from Subtensor runtime spec version 423. Connected to: wss://entrypoint-finney.opentensor.ai:443
- adminUtils
- alphaAssets
- aura
- balances
- baseFee
- commitments
- contracts
- crowdloan
- drand
- ethereum
- evm
- evmChainId
- grandpa
- limitOrders
- mevShield
- multisig
- preimage
- proxy
- randomnessCollectiveFlip
- safeMode
- scheduler
- substrate
- subtensorModule
- sudo
- swap
- system
- timestamp
- transactionPayment
adminUtils
palletVersion: u16
- interface:
api.query.adminUtils.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
precompileEnable(PrecompileEnum): bool
- interface:
api.query.adminUtils.precompileEnable - summary: Map PrecompileEnum --> enabled
alphaAssets
alphaBurned(u16): u64
- interface:
api.query.alphaAssets.alphaBurned - summary: Total alpha burned per subnet through this pallet.
alphaRecycled(u16): u64
- interface:
api.query.alphaAssets.alphaRecycled - summary: Total alpha recycled per subnet through this pallet.
palletVersion: u16
- interface:
api.query.alphaAssets.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
totalAlphaIssuance(u16): u64
- interface:
api.query.alphaAssets.totalAlphaIssuance - summary: Total alpha issuance tracked by the pallet.
aura
authorities: Vec<SpConsensusAuraSr25519AppSr25519Public>
- interface:
api.query.aura.authorities - summary: The current authority set.
currentSlot: Slot
-
interface:
api.query.aura.currentSlot -
summary: The current slot of this block.
This will be set in
on_initialize.
palletVersion: u16
- interface:
api.query.aura.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
balances
account(AccountId32): AccountData
-
interface:
api.query.balances.account -
summary: The Balances pallet example of storing the balance of an account.
Example:
nocompile impl pallet_balances::Config for Runtime { type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>> }You can also store the balance of an account in the
Systempallet.Example:
nocompile impl pallet_balances::Config for Runtime { type AccountStore = System }But this comes with tradeoffs, storing account balances in the system pallet stores
frame_systemdata alongside the account data contrary to storing account balances in theBalancespallet, which uses aStorageMapto store balances data only. NOTE: This is only used in the case that this pallet is used to store balances.
freezes(AccountId32): Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>
- interface:
api.query.balances.freezes - summary: Freeze locks on account balances.
holds(AccountId32): Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>
- interface:
api.query.balances.holds - summary: Holds on account balances.
inactiveIssuance: u64
- interface:
api.query.balances.inactiveIssuance - summary: The total units of outstanding deactivated balance in the system.
locks(AccountId32): Vec<PalletBalancesBalanceLock>
-
interface:
api.query.balances.locks -
summary: Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, changing and freeing a lock.
Use of locks is deprecated in favour of freezes. See
https://github.com/paritytech/substrate/pull/12951/
palletVersion: u16
- interface:
api.query.balances.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
reserves(AccountId32): Vec<PalletBalancesReserveData>
-
interface:
api.query.balances.reserves -
summary: Named reserves on some account balances.
Use of reserves is deprecated in favour of holds. See
https://github.com/paritytech/substrate/pull/12951/
totalIssuance: u64
- interface:
api.query.balances.totalIssuance - summary: The total units issued in the system.
baseFee
baseFeePerGas: U256
- interface:
api.query.baseFee.baseFeePerGas
elasticity: Permill
- interface:
api.query.baseFee.elasticity
palletVersion: u16
- interface:
api.query.baseFee.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
commitments
commitmentOf(u16, AccountId32): Registration
- interface:
api.query.commitments.commitmentOf - modifier:
Optional - summary: Identity data by account
lastBondsReset(u16, AccountId32): u32
- interface:
api.query.commitments.lastBondsReset - modifier:
Optional
lastCommitment(u16, AccountId32): u32
- interface:
api.query.commitments.lastCommitment - modifier:
Optional
maxSpace: u32
- interface:
api.query.commitments.maxSpace
palletVersion: u16
- interface:
api.query.commitments.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
revealedCommitments(u16, AccountId32): Vec<(Bytes,u64)>
- interface:
api.query.commitments.revealedCommitments - modifier:
Optional
timelockedIndex: BTreeSet
- interface:
api.query.commitments.timelockedIndex - summary: Tracks all CommitmentOf that have at least one timelocked field.
usedSpaceOf(u16, AccountId32): UsageTracker
- interface:
api.query.commitments.usedSpaceOf - modifier:
Optional - summary: Maps (netuid, who) -> usage (how many “bytes” they've committed) in the RateLimit window
contracts
codeInfoOf(H256): CodeInfo
- interface:
api.query.contracts.codeInfoOf - modifier:
Optional - summary: A mapping from a contract's code hash to its code info.
contractInfoOf(AccountId32): ContractInfo
-
interface:
api.query.contracts.contractInfoOf -
modifier:
Optional -
summary: The code associated with a given account.
TWOX-NOTE: SAFE since
AccountIdis a secure hash.
deletionQueue(u32): Bytes
-
interface:
api.query.contracts.deletionQueue -
modifier:
Optional -
summary: Evicted contracts that await child trie deletion.
Child trie deletion is a heavy operation depending on the amount of storage items stored in said trie. Therefore this operation is performed lazily in
on_idle.
deletionQueueCounter: DeletionQueueManager
- interface:
api.query.contracts.deletionQueueCounter - summary: A pair of monotonic counters used to track the latest contract marked for deletion and the latest deleted contract in queue.
migrationInProgress: Bytes
- interface:
api.query.contracts.migrationInProgress - modifier:
Optional - summary: A migration can span across multiple blocks. This storage defines a cursor to track the progress of the migration, enabling us to resume from the last completed position.
nonce: u64
-
interface:
api.query.contracts.nonce -
summary: This is a monotonic counter incremented on contract instantiation.
This is used in order to generate unique trie ids for contracts. The trie id of a new contract is calculated from hash(account_id, nonce). The nonce is required because otherwise the following sequence would lead to a possible collision of storage:
- Create a new contract.
- Terminate the contract.
- Immediately recreate the contract with the same account_id.
This is bad because the contents of a trie are deleted lazily and there might be storage of the old instantiation still in it when the new contract is created. Please note that we can't replace the counter by the block number because the sequence above can happen in the same block. We also can't keep the account counter in memory only because storage is the only way to communicate across different extrinsics in the same block.
Note:
Do not use it to determine the number of contracts. It won't be decremented if a contract is destroyed.
palletVersion: u16
- interface:
api.query.contracts.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
pristineCode(H256): Bytes
- interface:
api.query.contracts.pristineCode - modifier:
Optional - summary: A mapping from a contract's code hash to its code.
crowdloan
contributions(u32, AccountId32): u64
- interface:
api.query.crowdloan.contributions - modifier:
Optional - summary: A map of crowdloan ids to their contributors and their contributions.
crowdloans(u32): CrowdloanInfo
- interface:
api.query.crowdloan.crowdloans - modifier:
Optional - summary: A map of crowdloan ids to their information.
currentCrowdloanId: u32
- interface:
api.query.crowdloan.currentCrowdloanId - modifier:
Optional - summary: The current crowdloan id that will be set during the finalize call, making it temporarily accessible to the dispatched call.
hasMigrationRun(Bytes): bool
- interface:
api.query.crowdloan.hasMigrationRun - summary: Storage for the migration run status.
maxContributions(u32): u64
- interface:
api.query.crowdloan.maxContributions - modifier:
Optional - summary: A map of crowdloan ids to their optional maximum cumulative contribution per contributor.
nextCrowdloanId: u32
- interface:
api.query.crowdloan.nextCrowdloanId - summary: The next incrementing crowdloan id.
palletVersion: u16
- interface:
api.query.crowdloan.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
drand
beaconConfig: BeaconConfiguration
- interface:
api.query.drand.beaconConfig - summary: the drand beacon configuration
hasMigrationRun(Bytes): bool
- interface:
api.query.drand.hasMigrationRun - summary: Storage for migration run status
lastStoredRound: u64
- interface:
api.query.drand.lastStoredRound
nextUnsignedAt: u32
-
interface:
api.query.drand.nextUnsignedAt -
summary: Defines the block when next unsigned transaction will be accepted.
To prevent spam of unsigned (and unpaid!) transactions on the network, we only allow one transaction per block. This storage entry defines when new transaction is going to be accepted.
oldestStoredRound: u64
- interface:
api.query.drand.oldestStoredRound - summary: oldest stored round
palletVersion: u16
- interface:
api.query.drand.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
pulses(u64): Pulse
- interface:
api.query.drand.pulses - modifier:
Optional - summary: map round number to pulse
ethereum
blockHash(U256): H256
- interface:
api.query.ethereum.blockHash
counterForPending: u32
- interface:
api.query.ethereum.counterForPending - summary: Counter for the related counted storage map
currentBlock: Block
- interface:
api.query.ethereum.currentBlock - modifier:
Optional - summary: The current Ethereum block.
currentReceipts: Vec<EthereumReceiptReceiptV4>
- interface:
api.query.ethereum.currentReceipts - modifier:
Optional - summary: The current Ethereum receipts.
currentTransactionStatuses: Vec<FpRpcTransactionStatus>
- interface:
api.query.ethereum.currentTransactionStatuses - modifier:
Optional - summary: The current transaction statuses.
palletVersion: u16
- interface:
api.query.ethereum.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
pending(u32): (EthereumTransactionTransactionV3,FpRpcTransactionStatus,EthereumReceiptReceiptV4)
- interface:
api.query.ethereum.pending - modifier:
Optional - summary: Mapping from transaction index to transaction in the current building block.
evm
accountCodes(H160): Bytes
- interface:
api.query.evm.accountCodes
accountCodesMetadata(H160): CodeMetadata
- interface:
api.query.evm.accountCodesMetadata - modifier:
Optional
accountStorages(H160, H256): H256
- interface:
api.query.evm.accountStorages
disableWhitelistCheck: bool
- interface:
api.query.evm.disableWhitelistCheck
palletVersion: u16
- interface:
api.query.evm.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
whitelistedCreators: Vec<H160>
- interface:
api.query.evm.whitelistedCreators
evmChainId
chainId: u64
- interface:
api.query.evmChainId.chainId - summary: The EVM chain ID.
palletVersion: u16
- interface:
api.query.evmChainId.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
grandpa
authorities: Vec<(SpConsensusGrandpaAppPublic,u64)>
- interface:
api.query.grandpa.authorities - summary: The current list of authorities.
currentSetId: u64
- interface:
api.query.grandpa.currentSetId - summary: The number of changes (both in terms of keys and underlying economic responsibilities) in the "set" of Grandpa validators from genesis.
nextForced: u32
- interface:
api.query.grandpa.nextForced - modifier:
Optional - summary: next block number where we can force a change.
palletVersion: u16
- interface:
api.query.grandpa.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
pendingChange: StoredPendingChange
- interface:
api.query.grandpa.pendingChange - modifier:
Optional - summary: Pending change: (signaled at, scheduled change).
setIdSession(u64): u32
-
interface:
api.query.grandpa.setIdSession -
modifier:
Optional -
summary: A mapping from grandpa set ID to the index of the most recent session for which its members were responsible.
This is only used for validating equivocation proofs. An equivocation proof must contains a key-ownership proof for a given session, therefore we need a way to tie together sessions and GRANDPA set ids, i.e. we need to validate that a validator was the owner of a given key on a given session, and what the active set ID was during that session.
TWOX-NOTE:
SetIdis not under user control.
stalled: (u32,u32)
- interface:
api.query.grandpa.stalled - modifier:
Optional - summary:
trueif we are currently stalled.
state: StoredState
- interface:
api.query.grandpa.state - summary: State of the current authority set.
limitOrders
hasMigrationRun(Bytes): bool
- interface:
api.query.limitOrders.hasMigrationRun - summary: Tracks which named migrations have already been applied. Keyed by a short migration name; value is always
true.
limitOrdersEnabled: bool
- interface:
api.query.limitOrders.limitOrdersEnabled - summary: Switch to enable/disable the pallet. Defaults to
falseso bare node deployments are safe; genesis sets it totrue.
orders(H256): OrderStatus
- interface:
api.query.limitOrders.orders - modifier:
Optional - summary: Tracks the on-chain status of a known
OrderId. Absent ⇒ never seen (still executable if valid). Present ⇒ Fulfilled or Cancelled (both are terminal).
palletVersion: u16
- interface:
api.query.limitOrders.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
mevShield
authorKeys(Public): Bytes
- interface:
api.query.mevShield.authorKeys - modifier:
Optional - summary: Per-author ML-KEM-768 encapsulation key, updated each time the author produces a block.
counterForPendingExtrinsics: u32
- interface:
api.query.mevShield.counterForPendingExtrinsics - summary: Counter for the related counted storage map
currentKey: Bytes
- interface:
api.query.mevShield.currentKey - modifier:
Optional - summary: Current block author's ML-KEM-768 encapsulation key (internal, not for encryption).
extrinsicLifetime: u32
- interface:
api.query.mevShield.extrinsicLifetime - summary: Configurable extrinsic lifetime (max block difference between submission and execution). Defaults to 10 blocks if not explicitly set.
hasMigrationRun(Bytes): bool
- interface:
api.query.mevShield.hasMigrationRun - summary: Stores whether some migration has been run.
maxExtrinsicWeight: u64
- interface:
api.query.mevShield.maxExtrinsicWeight - summary: Configurable maximum weight for a single extrinsic dispatched during on_initialize. Extrinsics exceeding this limit are removed from the queue.
maxPendingExtrinsicsLimit: u32
- interface:
api.query.mevShield.maxPendingExtrinsicsLimit - summary: Configurable maximum number of pending extrinsics. Defaults to 100 if not explicitly set via
set_max_pending_extrinsics.
nextKey: Bytes
- interface:
api.query.mevShield.nextKey - modifier:
Optional - summary: Key users should encrypt with (N+2 author's key).
nextKeyExpiresAt: u32
- interface:
api.query.mevShield.nextKeyExpiresAt - modifier:
Optional - summary: Block number at which
NextKeyis no longer valid (exclusive upper bound). Updated every block during rotation.
nextPendingExtrinsicIndex: u32
- interface:
api.query.mevShield.nextPendingExtrinsicIndex - summary: Next index to use when inserting a pending extrinsic (unique auto-increment).
onInitializeWeight: u64
- interface:
api.query.mevShield.onInitializeWeight - summary: Configurable maximum weight for on_initialize processing. Defaults to 500_000_000_000 ref_time if not explicitly set.
palletVersion: u16
- interface:
api.query.mevShield.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
pendingExtrinsics(u32): PendingExtrinsic
- interface:
api.query.mevShield.pendingExtrinsics - modifier:
Optional - summary: Storage map for encrypted extrinsics to be executed in on_initialize. Uses u32 index for
O(1)insertion and removal. Count is maintained automatically.
pendingKey: Bytes
- interface:
api.query.mevShield.pendingKey - modifier:
Optional - summary: Next block author's key, staged here before promoting to
CurrentKey.
pendingKeyExpiresAt: u32
- interface:
api.query.mevShield.pendingKeyExpiresAt - modifier:
Optional - summary: Block number at which
PendingKeyis no longer valid (exclusive upper bound). Updated every block during rotation.
multisig
multisigs(AccountId32, [u8;32]): Multisig
- interface:
api.query.multisig.multisigs - modifier:
Optional - summary: The set of open multisig operations.
palletVersion: u16
- interface:
api.query.multisig.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
preimage
palletVersion: u16
- interface:
api.query.preimage.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
preimageFor(H256, u32): Bytes
- interface:
api.query.preimage.preimageFor - modifier:
Optional
requestStatusFor(H256): RequestStatus
- interface:
api.query.preimage.requestStatusFor - modifier:
Optional - summary: The request status of a given hash.
statusFor(H256): OldRequestStatus
- interface:
api.query.preimage.statusFor - modifier:
Optional - summary: The request status of a given hash.
proxy
announcements(AccountId32): (Vec<PalletSubtensorProxyAnnouncement>,u64)
- interface:
api.query.proxy.announcements - summary: The announcements made by the proxy (key).
lastCallResult(AccountId32): Result
- interface:
api.query.proxy.lastCallResult - modifier:
Optional - summary: The result of the last call made by the proxy (key).
palletVersion: u16
- interface:
api.query.proxy.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
proxies(AccountId32): (Vec<PalletSubtensorProxyProxyDefinition>,u64)
- interface:
api.query.proxy.proxies - summary: The set of account proxies. Maps the account which has delegated to the accounts which are being delegated to, together with the amount held on deposit.
realPaysFee(AccountId32, AccountId32): Null
- interface:
api.query.proxy.realPaysFee - modifier:
Optional - summary: Tracks which (real, delegate) pairs have opted in to the real account paying transaction fees for proxy calls made by the delegate. Existence of an entry means the real account pays; absence means the delegate pays (default).
randomnessCollectiveFlip
palletVersion: u16
- interface:
api.query.randomnessCollectiveFlip.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
randomMaterial: Vec<H256>
- interface:
api.query.randomnessCollectiveFlip.randomMaterial - summary: Series of block headers from the last 81 blocks that acts as random seed material. This is arranged as a ring buffer with
block_number % 81being the index into theVecof the oldest hash.
safeMode
deposits(AccountId32, u32): u64
-
interface:
api.query.safeMode.deposits -
modifier:
Optional -
summary: Holds the reserve that was taken from an account at a specific block number.
This helps governance to have an overview of outstanding deposits that should be returned or slashed.
enteredUntil: u32
-
interface:
api.query.safeMode.enteredUntil -
modifier:
Optional -
summary: Contains the last block number that the safe-mode will remain entered in.
Set to
Nonewhen safe-mode is exited.Safe-mode is automatically exited when the current block number exceeds this value.
palletVersion: u16
- interface:
api.query.safeMode.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
scheduler
agenda(u32): Vec<Option<PalletSchedulerScheduled>>
- interface:
api.query.scheduler.agenda - summary: Items to be executed, indexed by the block number that they should be executed on.
incompleteSince: u32
- interface:
api.query.scheduler.incompleteSince - modifier:
Optional - summary: Block number at which the agenda began incomplete execution.
lookup([u8;32]): (u32,u32)
-
interface:
api.query.scheduler.lookup -
modifier:
Optional -
summary: Lookup from a name to the block number and index of the task.
For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities.
palletVersion: u16
- interface:
api.query.scheduler.palletVersion - modifier:
Required - summary: Returns the current pallet version from storage
retries(u32, u32): RetryConfig
- interface:
api.query.scheduler.retries - modifier:
Optional - summary: Retry configurations for items to be executed, indexed by task address.
substrate
changesTrieConfig: u32
- interface:
api.query.substrate.changesTrieConfig - modifier:
Required - summary: Changes trie configuration is stored under this key.
childStorageKeyPrefix: u32
- interface:
api.query.substrate.childStorageKeyPrefix - modifier:
Required - summary: Prefix of child storage keys.
code: Bytes
- interface:
api.query.substrate.code - modifier:
Required - summary: Wasm code of the runtime.
defaultChildStorageKeyPrefix: u32
- interface:
api.query.substrate.defaultChildStorageKeyPrefix - modifier:
Required - summary: Prefix of the default child storage keys in the top trie.
extrinsicIndex: u32
- interface:
api.query.substrate.extrinsicIndex - modifier:
Required - summary: Current extrinsic index (u32) is stored under this key.
heapPages: u64
- interface:
api.query.substrate.heapPages - modifier:
Required - summary: Number of wasm linear memory pages required for execution of the runtime.
intrablockEntropy: [u8;32]
- interface:
api.query.substrate.intrablockEntropy - modifier:
Required - summary: Current intra-block entropy (a universally unique
[u8; 32]value) is stored here.
storageVersionStorageKeyPostfix: u16
- interface:
api.query.substrate.storageVersionStorageKeyPostfix - modifier:
Required - summary: The storage key postfix that is used to store the [
StorageVersion] per pallet.
transactionLevelKey: u32
- interface:
api.query.substrate.transactionLevelKey - modifier:
Required - summary: The key that holds the current number of active layers.
subtensorModule
accountFlags(AccountId32): u128
- interface:
api.query.subtensorModule.accountFlags - summary: MAP ( coldkey ) --> flags | Account-level flags. Defaults to zero.
accumulatedLeaseDividends(u32): u64
- interface:
api.query.subtensorModule.accumulatedLeaseDividends - summary: MAP ( lease_id ) --> accumulated_dividends | The accumulated dividends for a given lease that needs to be distributed.
active(u16): Vec<bool>
- interface:
api.query.subtensorModule.active - summary: MAP ( netuid ) --> active
activityCutoff(u16): u16
- interface:
api.query.subtensorModule.activityCutoff - summary: MAP ( netuid ) --> activity_cutoff
activityCutoffFactorMilli(u16): u32
- interface:
api.query.subtensorModule.activityCutoffFactorMilli - summary: MAP ( netuid ) --> activity-cutoff factor in per-mille epochs (1/1000 granularity). Effective cutoff in blocks =
(factor × tempo) / 1000, clamped to ≥ 1.
adjustmentAlpha(u16): u64
- interface:
api.query.subtensorModule.adjustmentAlpha - summary: MAP ( netuid ) --> adjustment_alpha
adjustmentInterval(u16): u16
- interface:
api.query.subtensorModule.adjustmentInterval - summary: MAP ( netuid ) --> adjustment_interval
adminFreezeWindow: u16
- interface:
api.query.subtensorModule.adminFreezeWindow - summary: Global window (in blocks) at the end of each tempo where admin ops are disallowed
alpha(AccountId32, AccountId32, u16): FixedU128
- interface:
api.query.subtensorModule.alpha - summary: NMAP ( hot, cold, netuid ) --> alpha | Returns the alpha shares for a hotkey, coldkey, netuid triplet.
alphaDividendsPerSubnet(u16, AccountId32): u64
- interface:
api.query.subtensorModule.alphaDividendsPerSubnet - summary: DMAP ( netuid, hotkey ) --> u64 | Last alpha dividend this hotkey got on tempo.
alphaMapLastKey: Option
- interface:
api.query.subtensorModule.alphaMapLastKey - summary: Contains last Alpha storage map key to iterate (check first)
alphaSigmoidSteepness(u16): i16
- interface:
api.query.subtensorModule.alphaSigmoidSteepness - summary: MAP ( netuid ) --> AlphaSigmoidSteepness
alphaV2(AccountId32, AccountId32, u16): SafeFloat
- interface:
api.query.subtensorModule.alphaV2 - summary: NMAP ( hot, cold, netuid ) --> alpha | Returns the alpha shares for a hotkey, coldkey, netuid triplet, stores SafeFloat.
alphaV2MapLastKey: Option
- interface:
api.query.subtensorModule.alphaV2MapLastKey - summary: Contains last AlphaV2 storage map key to iterate (check first)
alphaValues(u16): (u16,u16)
- interface:
api.query.subtensorModule.alphaValues - summary: MAP ( netuid ) --> (alpha_low, alpha_high)
associatedEvmAddress(u16, u16): (H160,u64)
- interface:
api.query.subtensorModule.associatedEvmAddress - modifier:
Optional - summary: ============================= ==== EVM related storage ==== ============================= --- DMAP (netuid, uid) --> (H160, last_block_where_ownership_was_proven)
autoParentDelegationEnabled(AccountId32): bool
-
interface:
api.query.subtensorModule.autoParentDelegationEnabled -
summary: MAP ( hotkey ) --> parent_delegation_enabled
When
true, this root validator allows auto parent delegation. Defaults totrue; validators can opt out at any time by callingset_auto_parent_delegation_enabled(false).
autoStakeDestination(AccountId32, u16): AccountId32
- interface:
api.query.subtensorModule.autoStakeDestination - modifier:
Optional - summary: DMAP ( cold, netuid )--> hot | Returns the hotkey a coldkey will autostake to with mining rewards.
autoStakeDestinationColdkeys(AccountId32, u16): Vec<AccountId32>
- interface:
api.query.subtensorModule.autoStakeDestinationColdkeys - summary: DMAP ( hot, netuid )--> Vec<cold> | Returns a list of coldkeys that are autostaking to a hotkey
axons(u16, AccountId32): AxonInfo
- interface:
api.query.subtensorModule.axons - modifier:
Optional - summary: MAP ( netuid, hotkey ) --> axon_info
blockAtRegistration(u16, u16): u64
- interface:
api.query.subtensorModule.blockAtRegistration - summary: DMAP ( netuid, uid ) --> block_at_registration
blockEmission: u64
- interface:
api.query.subtensorModule.blockEmission - summary: ================== ==== Coinbase ==== ================== --- ITEM ( global_block_emission )
blocksSinceLastStep(u16): u64
- interface:
api.query.subtensorModule.blocksSinceLastStep - summary: MAP ( netuid ) --> blocks_since_last_step
bonds(u16, u16): Vec<(u16,u16)>
- interface:
api.query.subtensorModule.bonds - summary: DMAP ( netuid, uid ) --> bonds
bondsMovingAverage(u16): u64
- interface:
api.query.subtensorModule.bondsMovingAverage - summary: MAP ( netuid ) --> bonds_moving_average
bondsPenalty(u16): u16
- interface:
api.query.subtensorModule.bondsPenalty - summary: MAP ( netuid ) --> bonds_penalty
bondsResetOn(u16): bool
- interface:
api.query.subtensorModule.bondsResetOn - summary: MAP ( netuid ) --> bonds_reset
burn(u16): u64
- interface:
api.query.subtensorModule.burn - summary: MAP ( netuid ) --> Burn
burnHalfLife(u16): u16
- interface:
api.query.subtensorModule.burnHalfLife - summary: MAP ( netuid ) --> BurnHalfLife (blocks)
burnIncreaseMult(u16): FixedU128
- interface:
api.query.subtensorModule.burnIncreaseMult - summary: MAP ( netuid ) --> BurnIncreaseMult
burnRegistrationsThisInterval(u16): u16
- interface:
api.query.subtensorModule.burnRegistrationsThisInterval - summary: MAP ( netuid ) --> burn_registrations_this_interval
childKeys(AccountId32, u16): Vec<(u64,AccountId32)>
- interface:
api.query.subtensorModule.childKeys - summary: DMAP ( parent, netuid ) --> Vec<(proportion,child)>
childkeyTake(AccountId32, u16): u16
- interface:
api.query.subtensorModule.childkeyTake - summary: DMAP ( hot, netuid ) --> take | Returns the hotkey childkey take for a specific subnet
ckBurn: u64
- interface:
api.query.subtensorModule.ckBurn - summary: ITEM --> CK burn
coldkeySwapAnnouncementDelay: u32
- interface:
api.query.subtensorModule.coldkeySwapAnnouncementDelay - summary: The delay after an announcement before a coldkey swap can be performed.
coldkeySwapAnnouncements(AccountId32): (u32,H256)
- interface:
api.query.subtensorModule.coldkeySwapAnnouncements - modifier:
Optional - summary: A map of the coldkey swap announcements from a coldkey to the block number the coldkey swap can be performed.
coldkeySwapDisputes(AccountId32): u32
- interface:
api.query.subtensorModule.coldkeySwapDisputes - modifier:
Optional - summary: A map of the coldkey swap disputes from a coldkey to the block number the coldkey swap was disputed.
coldkeySwapReannouncementDelay: u32
- interface:
api.query.subtensorModule.coldkeySwapReannouncementDelay - summary: The delay after the initial delay has passed before a new announcement can be made.
commitRevealWeightsEnabled(u16): bool
- interface:
api.query.subtensorModule.commitRevealWeightsEnabled - summary: MAP ( netuid ) --> commit reveal v2 weights are enabled
commitRevealWeightsVersion: u16
- interface:
api.query.subtensorModule.commitRevealWeightsVersion - summary: ITEM ( CommitRevealWeightsVersion )
consensus(u16): Vec<u16>
- interface:
api.query.subtensorModule.consensus - summary: MAP ( netuid ) --> consensus
crv3WeightCommits(u16, u64): Vec<(AccountId32,Bytes,u64)>
- interface:
api.query.subtensorModule.crv3WeightCommits - summary: MAP (netuid, epoch) → VecDeque<(who, ciphertext, reveal_round)> DEPRECATED for CRV3WeightCommitsV2
crv3WeightCommitsV2(u16, u64): Vec<(AccountId32,u64,Bytes,u64)>
- interface:
api.query.subtensorModule.crv3WeightCommitsV2 - summary: MAP (netuid, epoch) → VecDeque<(who, commit_block, ciphertext, reveal_round)> DEPRECATED for TimelockedWeightCommits
decayingHotkeyLock(u16, AccountId32): LockState
- interface:
api.query.subtensorModule.decayingHotkeyLock - modifier:
Optional - summary: DMAP ( netuid, hotkey ) --> LockState | Total decaying non-owner lock per hotkey per subnet.
decayingLock(AccountId32, u16): bool
- interface:
api.query.subtensorModule.decayingLock - modifier:
Optional - summary: DMAP ( coldkey, netuid ) --> false | When present and false, this coldkey's lock is perpetual. Missing entries mean the lock decays by default.
decayingOwnerLock(u16): LockState
- interface:
api.query.subtensorModule.decayingOwnerLock - modifier:
Optional - summary: MAP ( netuid ) --> LockState | Total decaying lock to the owner hotkey for a subnet.
delegates(AccountId32): u16
- interface:
api.query.subtensorModule.delegates - summary: MAP ( hot ) --> take | Returns the hotkey delegation take. And signals that this key is open for delegation
difficulty(u16): u64
- interface:
api.query.subtensorModule.difficulty - summary: MAP ( netuid ) --> Difficulty
dissolveNetworkScheduleDuration: u32
- interface:
api.query.subtensorModule.dissolveNetworkScheduleDuration - summary: Duration of dissolve network schedule before execution
dividends(u16): Vec<u16>
- interface:
api.query.subtensorModule.dividends - summary: MAP ( netuid ) --> dividends
emaPriceHalvingBlocks(u16): u64
- interface:
api.query.subtensorModule.emaPriceHalvingBlocks - summary: MAP ( netuid ) --> Halving time of average moving price.
emission(u16): Vec<u64>
- interface:
api.query.subtensorModule.emission - summary: MAP ( netuid ) --> emission
firstEmissionBlockNumber(u16): u64
- interface:
api.query.subtensorModule.firstEmissionBlockNumber - modifier:
Optional - summary: ============================ ==== Subnet Parameters ===== ============================ --- MAP ( netuid ) --> block number of first emission
flowEmaSmoothingFactor: u64
- interface:
api.query.subtensorModule.flowEmaSmoothingFactor - summary: ITEM --> Flow EMA smoothing factor (flow alpha), u64 normalized
flowNormExponent: FixedU128
- interface:
api.query.subtensorModule.flowNormExponent - summary: ITEM --> Flow Normalization Exponent (p)
hasMigrationRun(Bytes): bool
- interface:
api.query.subtensorModule.hasMigrationRun - summary: ================== ==== Genesis ===== ================== --- Storage for migration run status
hotkeyLock(u16, AccountId32): LockState
- interface:
api.query.subtensorModule.hotkeyLock - modifier:
Optional - summary: DMAP ( netuid, hotkey ) --> LockState | Total lock per hotkey per subnet.