Storage
Storage
This page contains storage query definitions for the Subtensor runtime. Accessible via api.query.<Pallet>.<storage_item>.
Generated from Subtensor runtime spec version 492. Connected to: wss://entrypoint-finney.opentensor.ai:443
- adminUtils
- alphaAssets
- aura
- balances
- baseFee
- commitments
- contracts
- crowdloan
- drand
- ethereum
- evm
- evmChainId
- grandpa
- hashedAccounts
- limitOrders
- mevShield
- multisig
- preimage
- proxy
- randomnessCollectiveFlip
- safeMode
- scheduler
- substrate
- subtensorModule
- sudo
- swap
- system
- timestamp
- transactionPayment
adminUtils
hashedAccountsEnabled: bool
- interface:
api.query.adminUtils.hashedAccountsEnabled - summary: Enables hashed account registration and authorization. Existing account records and authority protections survive disabling.
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(NetUid): AlphaBalance
- interface:
api.query.alphaAssets.alphaBurned - summary: Total alpha burned per subnet through this pallet.
alphaRecycled(NetUid): AlphaBalance
- 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(NetUid): AlphaBalance
- 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: TaoBalance
- 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: TaoBalance
- 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