Storage
The following sections contain Storage methods are part of the default Substrate runtime. On the api, these are exposed via api.query.<module>.<method>
.
(NOTE: These were generated from a static/snapshot view of a recent Substrate master node. Some items may not be available in older nodes, or in any customized implementations.)
#
assetsAssetId, AccountId
): AssetBalance
#
account(- interface:
api.query.assets.account
- summary: The number of units of assets held by any given account.
AssetId, AccountId, AccountId
): Option<AssetApproval>
#
approvals(- interface:
api.query.assets.approvals
- summary: Approved balance transfers. First balance is the amount approved for transfer. Second is the amount of
T::Currency
reserved for storing this. First key is the asset ID, second key is the owner and third key is the delegate.
AssetId
): Option<AssetDetails>
#
asset(- interface:
api.query.assets.asset
- summary: Details of an asset.
AssetId
): AssetMetadata
#
metadata(- interface:
api.query.assets.metadata
- summary: Metadata of an asset.
#
acalaOracleOrderedSet
#
hasDispatched(): - interface:
api.query.acalaOracle.hasDispatched
- summary: If an oracle operator has feed a value in this block
OracleKey
): bool
#
isUpdated(- interface:
api.query.acalaOracle.isUpdated
- summary: True if Self::values(key) is up to date, otherwise the value is stale
OrderedSet
#
members(): - interface:
api.query.acalaOracle.members
- summary: The current members of the collective. This is stored sorted (just by value).
AccountId
): u32
#
nonces(- interface:
api.query.acalaOracle.nonces
AccountId, OracleKey
): Option<TimestampedValueOf>
#
rawValues(- interface:
api.query.acalaOracle.rawValues
- summary: Raw values for each oracle operators
OracleKey
): Option<TimestampedValueOf>
#
values(- interface:
api.query.acalaOracle.values
- summary: Combined value, may not be up to date
#
acalaTreasuryVec<ProposalIndex>
#
approvals(): - interface:
api.query.acalaTreasury.approvals
- summary: Proposal indices that have been approved but not yet awarded.
BountyIndex
): Option<Bounty>
#
bounties(- interface:
api.query.acalaTreasury.bounties
- summary: Bounties that have been made.
Vec<BountyIndex>
#
bountyApprovals(): - interface:
api.query.acalaTreasury.bountyApprovals
- summary: Bounty indices that have been approved but not yet funded.
BountyIndex
#
bountyCount(): - interface:
api.query.acalaTreasury.bountyCount
- summary: Number of bounty proposals that have been made.
BountyIndex
): Option<Bytes>
#
bountyDescriptions(- interface:
api.query.acalaTreasury.bountyDescriptions
- summary: The description of each bounty.
ProposalIndex
#
proposalCount(): - interface:
api.query.acalaTreasury.proposalCount
- summary: Number of proposals that have been made.
ProposalIndex
): Option<Proposal>
#
proposals(- interface:
api.query.acalaTreasury.proposals
- summary: Proposals that have been made.
Hash
): Option<Bytes>
#
reasons(- interface:
api.query.acalaTreasury.reasons
- summary: Simple preimage lookup from the reason's hash to the original data. Again, has an insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
Hash
): Option<OpenTip>
#
tips(- interface:
api.query.acalaTreasury.tips
- summary: Tips that are not yet completed. Keyed by the hash of
(reason, who)
from the value. This has the insecure enumerable hash function since the key itself is already guaranteed to be a secure hash.
#
airDropAccountId, AirDropCurrencyId
): Balance
#
airDrops(- interface:
api.query.airDrop.airDrops
#
auctionBlockNumber, AuctionId
): Option<()>
#
auctionEndTime(- interface:
api.query.auction.auctionEndTime
- summary: Index auctions by end time.
AuctionId
): Option<AuctionInfo>
#
auctions(- interface:
api.query.auction.auctions
- summary: Stores on-going and future auctions. Closed auction are removed.
AuctionId
#
auctionsIndex(): - interface:
api.query.auction.auctionsIndex
- summary: Track the next auction ID.
#
auctionManagerAuctionId
): Option<CollateralAuctionItem>
#
collateralAuctions(- interface:
api.query.auctionManager.collateralAuctions
- summary: Mapping from auction id to collateral auction info
AuctionId
): Option<DebitAuctionItem>
#
debitAuctions(- interface:
api.query.auctionManager.debitAuctions
- summary: Mapping from auction id to debit auction info
AuctionId
): Option<SurplusAuctionItem>
#
surplusAuctions(- interface:
api.query.auctionManager.surplusAuctions
- summary: Mapping from auction id to surplus auction info
CurrencyId
): Balance
#
totalCollateralInAuction(- interface:
api.query.auctionManager.totalCollateralInAuction
- summary: Record of the total collateral amount of all active collateral auctions under specific collateral type CollateralType -> TotalAmount
Balance
#
totalDebitInAuction(): - interface:
api.query.auctionManager.totalDebitInAuction
- summary: Record of total fix amount of all active debit auctions
Balance
#
totalSurplusInAuction(): - interface:
api.query.auctionManager.totalSurplusInAuction
- summary: Record of total surplus amount of all active surplus auctions
Balance
#
totalTargetInAuction(): - interface:
api.query.auctionManager.totalTargetInAuction
- summary: Record of total target sales of all active collateral auctions
#
authorshipOption<AccountId>
#
author(): - interface:
api.query.authorship.author
- summary: Author of current block.
bool
#
didSetUncles(): - interface:
api.query.authorship.didSetUncles
- summary: Whether uncles were already set in this block.
Vec<UncleEntryItem>
#
uncles(): - interface:
api.query.authorship.uncles
- summary: Uncles
#
babeVec<(AuthorityId,BabeAuthorityWeight)>
#
authorities(): - interface:
api.query.babe.authorities
- summary: Current epoch authorities.
MaybeRandomness
#
authorVrfRandomness(): - interface:
api.query.babe.authorVrfRandomness
- summary: Temporary value (cleared at block finalization) that includes the VRF output generated at this block. This field should always be populated during block processing unless secondary plain slots are enabled (which don't contain a VRF output).
Slot
#
currentSlot(): - interface:
api.query.babe.currentSlot
- summary: Current slot number.
Option<BabeEpochConfiguration>
#
epochConfig(): - interface:
api.query.babe.epochConfig
- summary: The configuration for the current epoch. Should never be
None
as it is initialized in genesis.
u64
#
epochIndex(): - interface:
api.query.babe.epochIndex
- summary: Current epoch index.
(BlockNumber,BlockNumber)
#
epochStart(): - interface:
api.query.babe.epochStart
- summary: The block numbers when the last and current epoch have started, respectively
N-1
andN
. NOTE: We track this is in order to annotate the block number when a given pool of entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in slots, which may be skipped, the block numbers may not line up with the slot numbers.
Slot
#
genesisSlot(): - interface:
api.query.babe.genesisSlot
- summary: The slot at which the first epoch actually started. This is 0 until the first block of the chain.
Option<MaybeRandomness>
#
initialized(): - interface:
api.query.babe.initialized
- summary: Temporary value (cleared at block finalization) which is
Some
if per-block initialization has already been called for current block.
BlockNumber
#
lateness(): interface:
api.query.babe.lateness
summary: How late the current block is compared to its parent.
This entry is populated as part of block execution and is cleaned up on block finalization. Querying this storage entry outside of block execution context should always yield zero.
Vec<(AuthorityId,BabeAuthorityWeight)>
#
nextAuthorities(): - interface:
api.query.babe.nextAuthorities
- summary: Next epoch authorities.
Option<BabeEpochConfiguration>
#
nextEpochConfig(): - interface:
api.query.babe.nextEpochConfig
- summary: The configuration for the next epoch,
None
if the config will not change (you can fallback toEpochConfig
instead in that case).
Randomness
#
nextRandomness(): - interface:
api.query.babe.nextRandomness
- summary: Next epoch randomness.
Option<NextConfigDescriptor>
#
pendingEpochConfigChange(): - interface:
api.query.babe.pendingEpochConfigChange
- summary: Pending epoch configuration change that will be applied when the next epoch is enacted.
Randomness
#
randomness(): interface:
api.query.babe.randomness
summary: The epoch randomness for the current epoch.
#
SecurityThis MUST NOT be used for gambling, as it can be influenced by a malicious validator in the short term. It MAY be used in many cryptographic protocols, however, so long as one remembers that this (like everything else on-chain) it is public. For example, it can be used where a number is needed that cannot have been chosen by an adversary, for purposes such as public-coin zero-knowledge proofs.
u32
#
segmentIndex(): interface:
api.query.babe.segmentIndex
summary: Randomness under construction.
We make a tradeoff between storage accesses and list length. We store the under-construction randomness in segments of up to
UNDER_CONSTRUCTION_SEGMENT_LENGTH
.Once a segment reaches this length, we begin the next one. We reset all segments and return to
0
at the beginning of every epoch.
u32
): Vec<Randomness>
#
underConstruction(- interface:
api.query.babe.underConstruction
- summary: TWOX-NOTE:
SegmentIndex
is an increasing integer, so this is okay.
#
balancesAccountId
): AccountData
#
account(interface:
api.query.balances.account
summary: The balance of an account.
NOTE: This is only used in the case that this pallet is used to store balances.
AccountId
): Vec<BalanceLock>
#
locks(- 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.
AccountId
): Vec<ReserveData>
#
reserves(- interface:
api.query.balances.reserves
- summary: Named reserves on some account balances.
Releases
#
storageVersion(): interface:
api.query.balances.storageVersion
summary: Storage version of the pallet.
This is set to v2.0.0 for new networks.
Balance
#
totalIssuance(): - interface:
api.query.balances.totalIssuance
- summary: The total units issued in the system.
#
bountiesBountyIndex
): Option<Bounty>
#
bounties(- interface:
api.query.bounties.bounties
- summary: Bounties that have been made.
Vec<BountyIndex>
#
bountyApprovals(): - interface:
api.query.bounties.bountyApprovals
- summary: Bounty indices that have been approved but not yet funded.
BountyIndex
#
bountyCount(): - interface:
api.query.bounties.bountyCount
- summary: Number of bounty proposals that have been made.
BountyIndex
): Option<Bytes>
#
bountyDescriptions(- interface:
api.query.bounties.bountyDescriptions
- summary: The description of each bounty.
#
bandOracleOrderedSet
#
hasDispatched(): - interface:
api.query.bandOracle.hasDispatched
- summary: If an oracle operator has feed a value in this block
OracleKey
): bool
#
isUpdated(- interface:
api.query.bandOracle.isUpdated
- summary: True if Self::values(key) is up to date, otherwise the value is stale
OrderedSet
#
members(): - interface:
api.query.bandOracle.members
- summary: The current members of the collective. This is stored sorted (just by value).
AccountId
): u32
#
nonces(- interface:
api.query.bandOracle.nonces
AccountId, OracleKey
): Option<TimestampedValueOf>
#
rawValues(- interface:
api.query.bandOracle.rawValues
- summary: Raw values for each oracle operators
OracleKey
): Option<TimestampedValueOf>
#
values(- interface:
api.query.bandOracle.values
- summary: Combined value, may not be up to date
#
cdpEngineCurrencyId
): RiskManagementParams
#
collateralParams(- interface:
api.query.cdpEngine.collateralParams
- summary: Mapping from collateral type to its risk management params
CurrencyId
): Option<ExchangeRate>
#
debitExchangeRate(- interface:
api.query.cdpEngine.debitExchangeRate
- summary: Mapping from collateral type to its exchange rate of debit units and debit value
Rate
#
globalStabilityFee(): - interface:
api.query.cdpEngine.globalStabilityFee
- summary: Global stability fee rate for all types of collateral
#
cdpTreasuryCurrencyId
): Balance
#
collateralAuctionMaximumSize(- interface:
api.query.cdpTreasury.collateralAuctionMaximumSize
- summary: The maximum amount of collateral amount for sale per collateral auction
Balance
#
debitPool(): - interface:
api.query.cdpTreasury.debitPool
- summary: Current total debit value of system. It's not same as debit in CDP engine, it is the bad debt of the system.
#
contractsu64
#
accountCounter(): - interface:
api.query.contracts.accountCounter
- summary: The subtrie counter.
CodeHash
): Option<PrefabWasmModule>
#
codeStorage(- interface:
api.query.contracts.codeStorage
- summary: A mapping between an original code hash and instrumented wasm code, ready for execution.
AccountId
): Option<ContractInfo>
#
contractInfoOf(interface:
api.query.contracts.contractInfoOf
summary: The code associated with a given account.
TWOX-NOTE: SAFE since
AccountId
is a secure hash.
Vec<DeletedContract>
#
deletionQueue(): interface:
api.query.contracts.deletionQueue
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_initialize
.
CodeHash
): Option<Bytes>
#
pristineCode(- interface:
api.query.contracts.pristineCode
- summary: A mapping from an original code hash to the original code, untouched by instrumentation.
#
councilVec<AccountId>
#
members(): - interface:
api.query.council.members
- summary: The current members of the collective. This is stored sorted (just by value).
Option<AccountId>
#
prime(): - interface:
api.query.council.prime
- summary: The prime member that helps determine the default vote behavior in case of absentations.
u32
#
proposalCount(): - interface:
api.query.council.proposalCount
- summary: Proposals so far.
Hash
): Option<Proposal>
#
proposalOf(- interface:
api.query.council.proposalOf
- summary: Actual proposal for a given hash, if it's current.
Vec<Hash>
#
proposals(): - interface:
api.query.council.proposals
- summary: The hashes of the active proposals.
Hash
): Option<Votes>
#
voting(- interface:
api.query.council.voting
- summary: Votes on a given proposal, if it is ongoing.
#
electionsPhragmenHash
): Option<(BlockNumber,Vec<AccountId>)>
#
blacklist(- interface:
api.query.democracy.blacklist
- summary: A record of who vetoed what. Maps proposal hash to a possible existent block number (until when it may not be resubmitted) and who vetoed it.
Hash
): bool
#
cancellations(- interface:
api.query.democracy.cancellations
- summary: Record of all proposals that have been subject to emergency cancellation.
PropIndex
): Option<(Vec<AccountId>,BalanceOf)>
#
depositOf(interface:
api.query.democracy.depositOf
summary: Those who have locked a deposit.
TWOX-NOTE: Safe, as increasing integer keys are safe.
bool
#
lastTabledWasExternal(): - interface:
api.query.democracy.lastTabledWasExternal
- summary: True if the last referendum tabled was submitted externally. False if it was a public proposal.
AccountId
): Option<BlockNumber>
#
locks(interface:
api.query.democracy.locks
summary: Accounts for which there are locks in action which may be removed at some point in the future. The value is the block number at which the lock expires and may be removed.
TWOX-NOTE: OK ―
AccountId
is a secure hash.
ReferendumIndex
#
lowestUnbaked(): - interface:
api.query.democracy.lowestUnbaked
- summary: The lowest referendum index representing an unbaked referendum. Equal to
ReferendumCount
if there isn't a unbaked referendum.
Option<(Hash,VoteThreshold)>
#
nextExternal(): - interface:
api.query.democracy.nextExternal
- summary: The referendum to be tabled whenever it would be valid to table an external proposal. This happens when a referendum needs to be tabled and one of two conditions are met:
#
eVMHash
): Option<PreimageStatus>
#
preimages(- interface:
api.query.democracy.preimages
- summary: Map of hashes to the proposal preimage, along with who registered it and their deposit. The block number is the block at which it was deposited.
PropIndex
#
publicPropCount(): - interface:
api.query.democracy.publicPropCount
- summary: The number of (public) proposals that have been made so far.
Vec<(PropIndex,Hash,AccountId)>
#
publicProps(): - interface:
api.query.democracy.publicProps
- summary: The public proposals. Unsorted. The second item is the proposal's hash.
ReferendumIndex
#
referendumCount(): - interface:
api.query.democracy.referendumCount
- summary: The next free referendum index, aka the number of referenda started so far.
ReferendumIndex
): Option<ReferendumInfo>
#
referendumInfoOf(interface:
api.query.democracy.referendumInfoOf
summary: Information concerning any given referendum.
TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
Option<Releases>
#
storageVersion(): interface:
api.query.democracy.storageVersion
summary: Storage version of the pallet.
New networks start with last version.
AccountId
): Voting
#
votingOf(interface:
api.query.democracy.votingOf
summary: All votes for a particular voter. We store the balance for the number of votes that we have recorded. The second item is the total amount of delegations, that will be added.
TWOX-NOTE: SAFE as
AccountId
s are crypto hashes anyway.
#
electionProviderMultiPhaseElectionPhase
#
currentPhase(): - interface:
api.query.electionProviderMultiPhase.currentPhase
- summary: Current phase.
Option<u32>
#
desiredTargets(): interface:
api.query.electionProviderMultiPhase.desiredTargets
summary: Desired number of targets to elect for this round.
Only exists when [
Snapshot
] is present.
Option<ElectionScore>
#
minimumUntrustedScore(): interface:
api.query.electionProviderMultiPhase.minimumUntrustedScore
summary: The minimum score that each 'untrusted' solution must attain in order to be considered feasible.
Can be set via
set_minimum_untrusted_score
.
Option<ReadySolution>
#
queuedSolution(): - interface:
api.query.electionProviderMultiPhase.queuedSolution
- summary: Current best solution, signed or unsigned, queued to be returned upon
elect
.
u32
#
round(): interface:
api.query.electionProviderMultiPhase.round
summary: Internal counter for the number of rounds.
This is useful for de-duplication of transactions submitted to the pool, and general diagnostics of the pallet.
This is merely incremented once per every time that an upstream
elect
is called.
Option<RoundSnapshot>
#
snapshot(): interface:
api.query.electionProviderMultiPhase.snapshot
summary: Snapshot data of the round.
This is created at the beginning of the signed phase and cleared upon calling
elect
.
Option<SolutionOrSnapshotSize>
#
snapshotMetadata(): interface:
api.query.electionProviderMultiPhase.snapshotMetadata
summary: The metadata of the [
RoundSnapshot
]Only exists when [
Snapshot
] is present.
#
generalCouncilVec<(AccountId,BalanceOf)>
#
candidates(): interface:
api.query.elections.candidates
summary: The present candidate list. A current member or runner-up can never enter this vector and is always implicitly assumed to be a candidate.
Second element is the deposit.
Invariant: Always sorted based on account id.
u32
#
electionRounds(): - interface:
api.query.elections.electionRounds
- summary: The total number of vote rounds that have happened, excluding the upcoming one.
Vec<SeatHolder>
#
members(): interface:
api.query.elections.members
summary: The current elected members.
Invariant: Always sorted based on account id.
Vec<SeatHolder>
#
runnersUp(): interface:
api.query.elections.runnersUp
summary: The current reserved runners-up.
Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the last (i.e. best) runner-up will be replaced.
AccountId
): Voter
#
voting(interface:
api.query.elections.voting
summary: Votes and locked stake of a particular voter.
TWOX-NOTE: SAFE as
AccountId
is a crypto hash.
#
giltActiveIndex
): Option<ActiveGilt>
#
active(- interface:
api.query.gilt.active
- summary: The currently active gilts, indexed according to the order of creation.
ActiveGiltsTotal
#
activeTotal(): - interface:
api.query.gilt.activeTotal
- summary: Information relating to the gilts currently active.
u32
): Vec<GiltBid>
#
queues(- interface:
api.query.gilt.queues
- summary: The queues of bids ready to become gilts. Indexed by duration (in
Period
s).
Vec<(u32,BalanceOf)>
#
queueTotals(): interface:
api.query.gilt.queueTotals
summary: The totals of items and balances within each queue. Saves a lot of storage reads in the case of sparsely packed queues.
The vector is indexed by duration in
Period
s, offset by one, so information on the queue whose duration is onePeriod
would be storage0
.
#
grandpaSetId
#
currentSetId(): - 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.
Option<BlockNumber>
#
nextForced(): - interface:
api.query.grandpa.nextForced
- summary: next block number where we can force a change.
Option<StoredPendingChange>
#
pendingChange(): - interface:
api.query.grandpa.pendingChange
- summary: Pending change: (signaled at, scheduled change).
SetId
): Option<SessionIndex>
#
setIdSession(interface:
api.query.grandpa.setIdSession
summary: A mapping from grandpa set ID to the index of the most recent session for which its members were responsible.
TWOX-NOTE:
SetId
is not under user control.
Option<(BlockNumber,BlockNumber)>
#
stalled(): - interface:
api.query.grandpa.stalled
- summary:
true
if we are currently stalled.
StoredState
#
state(): - interface:
api.query.grandpa.state
- summary: State of the current authority set.
#
homaCouncilVec<AccountId>
#
members(): - interface:
api.query.homaCouncil.members
- summary: The current members of the collective. This is stored sorted (just by value).
Option<AccountId>
#
prime(): - interface:
api.query.homaCouncil.prime
- summary: The prime member that helps determine the default vote behavior in case of absentations.
AccountId
): Option<Registration>
#
identityOf(interface:
api.query.identity.identityOf
summary: Information that is pertinent to identify the entity behind an account.
TWOX-NOTE: OK ―
AccountId
is a secure hash.
Vec<Option<RegistrarInfo>>
#
registrars(): interface:
api.query.identity.registrars
summary: The set of registrars. Not expected to get very big as can only be added through a special origin (likely a council motion).
The index into this can be cast to
RegistrarIndex
to get a valid value.
AccountId
): (BalanceOf,Vec<AccountId>)
#
subsOf(interface:
api.query.identity.subsOf
summary: Alternative "sub" identities of this account.
The first item is the deposit, the second is a vector of the accounts.
TWOX-NOTE: OK ―
AccountId
is a secure hash.
AccountId
): Option<(AccountId,Data)>
#
superOf(- interface:
api.query.identity.superOf
- summary: The super-identity of an alternative "sub" identity together with its name, within that context. If the account is not some other account's sub-identity, then just
None
.
#
honzonCouncilMembershipSessionIndex, ValidatorId
): u32
#
authoredBlocks(- interface:
api.query.imOnline.authoredBlocks
- summary: For each session index, we keep a mapping of
ValidatorId<T>
to the number of blocks authored by the given authority.
BlockNumber
#
heartbeatAfter(): interface:
api.query.imOnline.heartbeatAfter
summary: The block number after which it's ok to send heartbeats in the current session.
At the beginning of each session we set this to a value that should fall roughly in the middle of the session duration. The idea is to first wait for the validators to produce a block in the current session, so that the heartbeat later on will not be necessary.
This value will only be used as a fallback if we fail to get a proper session progress estimate from
NextSessionRotation
, as those estimates should be more accurate then the value we calculate forHeartbeatAfter
.
Vec<AuthorityId>
#
keys(): - interface:
api.query.imOnline.keys
- summary: The current set of keys that may issue a heartbeat.
SessionIndex, AuthIndex
): Option<Bytes>
#
receivedHeartbeats(- interface:
api.query.imOnline.receivedHeartbeats
- summary: For each session index, we keep a mapping of
AuthIndex
tooffchain::OpaqueNetworkState
.
#
indicesAccountIndex
): Option<(AccountId,BalanceOf,bool)>
#
accounts(- interface:
api.query.indices.accounts
- summary: The lookup from index to account.
#
lotteryVec<CallIndex>
#
callIndices(): - interface:
api.query.lottery.callIndices
- summary: The calls stored in this pallet to be used in an active lottery if configured by
Config::ValidateCall
.
Option<LotteryConfig>
#
lottery(): - interface:
api.query.lottery.lottery
- summary: The configuration for the current lottery.
u32
#
lotteryIndex(): - interface:
api.query.lottery.lotteryIndex
AccountId
): (u32,Vec<CallIndex>)
#
participants(- interface:
api.query.lottery.participants
- summary: Users who have purchased a ticket. (Lottery Index, Tickets Purchased)
u32
): Option<AccountId>
#
tickets(interface:
api.query.lottery.tickets
summary: Each ticket's owner.
May have residual storage from previous lotteries. Use
TicketsCount
to see which ones are actually valid ticket mappings.
u32
#
ticketsCount(): - interface:
api.query.lottery.ticketsCount
- summary: Total number of tickets sold.
#
mmru64
): Option<Hash>
#
nodes(interface:
api.query.mmr.nodes
summary: Hashes of the nodes in the MMR.
Note this collection only contains MMR peaks, the inner nodes (and leaves) are pruned and only stored in the Offchain DB.
u64
#
numberOfLeaves(): - interface:
api.query.mmr.numberOfLeaves
- summary: Current size of the MMR (number of leaves).
Hash
#
rootHash(): - interface:
api.query.mmr.rootHash
- summary: Latest MMR Root hash.
#
loansCurrencyId, AccountId
): Position
#
positions(- interface:
api.query.loans.positions
- summary: The collateralized debit positions, map from Owner -> CollateralType -> Position
CurrencyId
): Position
#
totalPositions(- interface:
api.query.loans.totalPositions
- summary: The total collateralized debit positions, map from CollateralType -> Position
#
multisig[u8;32]
): Option<(OpaqueCall,AccountId,BalanceOf)>
#
calls(- interface:
api.query.multisig.calls
AccountId, [u8;32]
): Option<Multisig>
#
multisigs(- interface:
api.query.multisig.multisigs
- summary: The set of open multisig operations.
#
nomineesElectionEraIndex
#
currentEra(): - interface:
api.query.nomineesElection.currentEra
Kind, OpaqueTimeSlot
): Vec<ReportIdOf>
#
concurrentReportsIndex(- interface:
api.query.offences.concurrentReportsIndex
- summary: A vector of reports of the same kind that happened at the same time slot.
ReportIdOf
): Option<OffenceDetails>
#
reports(- interface:
api.query.offences.reports
- summary: The primary structure that holds all offence records keyed by report identifiers.
Kind
): Bytes
#
reportsByKindIndex(interface:
api.query.offences.reportsByKindIndex
summary: Enumerates all reports of a kind along with the time they happened.
All reports are sorted by the time of offence.
Note that the actual type of this mapping is
Vec<u8>
, this is because values of different types are not supported at the moment so we are doing the manual serialization.
#
proxyAccountId
): (Vec<ProxyAnnouncement>,BalanceOf)
#
announcements(- interface:
api.query.proxy.announcements
- summary: The announcements made by the proxy (key).
AccountId
): (Vec<ProxyDefinition>,BalanceOf)
#
proxies(- 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.
#
randomnessCollectiveFlipVec<Hash>
#
randomMaterial(): - 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 % 81
being the index into theVec
of the oldest hash.
#
recoveryAccountId, AccountId
): Option<ActiveRecovery>
#
activeRecoveries(interface:
api.query.recovery.activeRecoveries
summary: Active recovery attempts.
First account is the account to be recovered, and the second account is the user trying to recover the account.
AccountId
): Option<AccountId>
#
proxy(interface:
api.query.recovery.proxy
summary: The list of allowed proxy accounts.
Map from the user who can access it to the recovered account.
AccountId
): Option<RecoveryConfig>
#
recoverable(- interface:
api.query.recovery.recoverable
- summary: The set of recoverable accounts and their recovery configuration.
#
renVmBridgeu32
): Option<(BlockNumber,DestAddress,Balance)>
#
burnEvents(- interface:
api.query.renVmBridge.burnEvents
- summary: Record burn event details
u32
#
nextBurnEventId(): - interface:
api.query.renVmBridge.nextBurnEventId
- summary: Next burn event ID
EcdsaSignature
): Option<()>
#
signatures(- interface:
api.query.renVmBridge.signatures
- summary: Signature blacklist. This is required to prevent double claim.
#
rewardsPoolId
): PoolInfo
#
pools(- interface:
api.query.rewards.pools
- summary: Stores reward pool info.
PoolId, AccountId
): (Share,Balance)
#
shareAndWithdrawnReward(- interface:
api.query.rewards.shareAndWithdrawnReward
- summary: Record share amount and withdrawn reward amount for specific
AccountId
underPoolId
.
#
schedulerBlockNumber
): Vec<Option<Scheduled>>
#
agenda(- interface:
api.query.scheduler.agenda
- summary: Items to be executed, indexed by the block number that they should be executed on.
Bytes
): Option<TaskAddress>
#
lookup(- interface:
api.query.scheduler.lookup
- summary: Lookup from identity to the block number and index of the task.
Releases
#
storageVersion(): interface:
api.query.scheduler.storageVersion
summary: Storage version of the pallet.
New networks start with last version.
#
sessionSessionIndex
#
currentIndex(): - interface:
api.query.session.currentIndex
- summary: Current index of the session.
Vec<u32>
#
disabledValidators(): interface:
api.query.session.disabledValidators
summary: Indices of disabled validators.
The set is cleared when
on_session_ending
returns a new set of identities.
(KeyTypeId,Bytes)
): Option<ValidatorId>
#
keyOwner(- interface:
api.query.session.keyOwner
- summary: The owner of a key. The key is the
KeyTypeId
+ the encoded key.
ValidatorId
): Option<Keys>
#
nextKeys(- interface:
api.query.session.nextKeys
- summary: The next session keys for a validator.
bool
#
queuedChanged(): - interface:
api.query.session.queuedChanged
- summary: True if the underlying economic identities or weighting behind the validators has changed in the queued validator set.
Vec<(ValidatorId,Keys)>
#
queuedKeys(): - interface:
api.query.session.queuedKeys
- summary: The queued keys for the next session. When the next session begins, these keys will be used to determine the validator's session keys.
Vec<ValidatorId>
#
validators(): - interface:
api.query.session.validators
- summary: The current set of validators.
#
societyVec<Bid>
#
bids(): - interface:
api.query.society.bids
- summary: The current bids, stored ordered by the value of the bid.
Vec<Bid>
#
candidates(): - interface:
api.query.society.candidates
- summary: The current set of candidates; bidders that are attempting to become members.
Option<AccountId>
#
defender(): - interface:
api.query.society.defender
- summary: The defending member currently being challenged.
AccountId
): Option<SocietyVote>
#
defenderVotes(- interface:
api.query.society.defenderVotes
- summary: Votes for the defender.
Option<AccountId>
#
founder(): - interface:
api.query.society.founder
- summary: The first member.
Option<AccountId>
#
head(): - interface:
api.query.society.head
- summary: The most primary from the most recently approved members.
u32
#
maxMembers(): - interface:
api.query.society.maxMembers
- summary: The max number of members for the society at one time.
Vec<AccountId>
#
members(): - interface:
api.query.society.members
- summary: The current set of members, ordered.
AccountId
): Vec<(BlockNumber,BalanceOf)>
#
payouts(- interface:
api.query.society.payouts
- summary: Pending payouts; ordered by block number, with the amount that should be paid out.
BalanceOf
#
pot(): - interface:
api.query.society.pot
- summary: Amount of our account balance that is specifically for the next round's bid(s).
Option<Hash>
#
rules(): - interface:
api.query.society.rules
- summary: A hash of the rules of this society concerning membership. Can only be set once and only by the founder.
AccountId
): StrikeCount
#
strikes(- interface:
api.query.society.strikes
- summary: The ongoing number of losing votes cast by the member.
AccountId
): Option<(BalanceOf,BidKind)>
#
suspendedCandidates(- interface:
api.query.society.suspendedCandidates
- summary: The set of suspended candidates.
AccountId
): bool
#
suspendedMembers(- interface:
api.query.society.suspendedMembers
- summary: The set of suspended members.
AccountId, AccountId
): Option<SocietyVote>
#
votes(- interface:
api.query.society.votes
- summary: Double map from Candidate -> Voter -> (Maybe) Vote.
AccountId
): Option<VouchingStatus>
#
vouching(- interface:
api.query.society.vouching
- summary: Members currently vouching or banned from vouching again
#
stakingOption<ActiveEraInfo>
#
activeEra(): interface:
api.query.staking.activeEra
summary: The active era information, it holds index and start.
The active era is the era being currently rewarded. Validator set of this era must be equal to [
SessionInterface::validators
].
AccountId
): Option<AccountId>
#
bonded(- interface:
api.query.staking.bonded
- summary: Map from all locked "stash" accounts to the controller account.
Vec<(EraIndex,SessionIndex)>
#
bondedEras(): interface:
api.query.staking.bondedEras
summary: A mapping from still-bonded eras to the first session index of that era.
Must contains information for eras for the range:
[active_era - bounding_duration; active_era]
BalanceOf
#
canceledSlashPayout(): - interface:
api.query.staking.canceledSlashPayout
- summary: The amount of currency given to reporters of a slash event which was canceled by extraordinary circumstances (e.g. governance).
u32
#
counterForNominators(): - interface:
api.query.staking.counterForNominators
- summary: A tracker to keep count of the number of items in the
Nominators
map.
u32
#
counterForValidators(): - interface:
api.query.staking.counterForValidators
- summary: A tracker to keep count of the number of items in the
Validators
map.
Option<EraIndex>
#
currentEra(): interface:
api.query.staking.currentEra
summary: The current era index.
This is the latest planned era, depending on how the Session pallet queues the validator set, it might be active or not.
SessionIndex
#
currentPlannedSession(): interface:
api.query.staking.currentPlannedSession
summary: The last planned session scheduled by the session pallet.
This is basically in sync with the call to [
SessionManager::new_session
].
Option<EraIndex>
#
earliestUnappliedSlash(): - interface:
api.query.staking.earliestUnappliedSlash
- summary: The earliest era for which we have a pending, unapplied slash.
EraIndex
): EraRewardPoints
#
erasRewardPoints(- interface:
api.query.staking.erasRewardPoints
- summary: Rewards for the last
HISTORY_DEPTH
eras. If reward hasn't been set or has been removed then 0 reward is returned.
EraIndex, AccountId
): Exposure
#
erasStakers(interface:
api.query.staking.erasStakers
summary: Exposure of validator at era.
This is keyed first by the era index to allow bulk deletion and then the stash account.
Is it removed after
HISTORY_DEPTH
eras. If stakers hasn't been set or has been removed then empty exposure is returned.
EraIndex, AccountId
): Exposure
#
erasStakersClipped(interface:
api.query.staking.erasStakersClipped
summary: Clipped Exposure of validator at era.
This is similar to [
ErasStakers
] but number of nominators exposed is reduced to theT::MaxNominatorRewardedPerValidator
biggest stakers. (Note: the fieldtotal
andown
of the exposure remains unchanged). This is used to limit the i/o cost for the nominator payout.This is keyed fist by the era index to allow bulk deletion and then the stash account.
Is it removed after
HISTORY_DEPTH
eras. If stakers hasn't been set or has been removed then empty exposure is returned.
EraIndex
): Option<SessionIndex>
#
erasStartSessionIndex(interface:
api.query.staking.erasStartSessionIndex
summary: The session index at which the era start for the last
HISTORY_DEPTH
eras.Note: This tracks the starting session (i.e. session index when era start being active) for the eras in
[CurrentEra - HISTORY_DEPTH, CurrentEra]
.
EraIndex
): BalanceOf
#
erasTotalStake(- interface:
api.query.staking.erasTotalStake
- summary: The total amount staked for the last
HISTORY_DEPTH
eras. If total hasn't been set or has been removed then 0 stake is returned.
EraIndex, AccountId
): ValidatorPrefs
#
erasValidatorPrefs(interface:
api.query.staking.erasValidatorPrefs
summary: Similar to
ErasStakers
, this holds the preferences of validators.This is keyed first by the era index to allow bulk deletion and then the stash account.
Is it removed after
HISTORY_DEPTH
eras.
EraIndex
): Option<BalanceOf>
#
erasValidatorReward(interface:
api.query.staking.erasValidatorReward
summary: The total validator era payout for the last
HISTORY_DEPTH
eras.Eras that haven't finished yet or has been removed doesn't have reward.
Forcing
#
forceEra(): - interface:
api.query.staking.forceEra
- summary: Mode of era forcing.
u32
#
historyDepth(): interface:
api.query.staking.historyDepth
summary: Number of eras to keep in history.
Information is kept for eras in
[current_era - history_depth; current_era]
.Must be more than the number of eras delayed by session otherwise. I.e. active era must always be in history. I.e.
active_era > current_era - history_depth
must be guaranteed.
Vec<AccountId>
#
invulnerables(): - interface:
api.query.staking.invulnerables
- summary: Any validators that may never be slashed or forcibly kicked. It's a Vec since they're easy to initialize and the performance hit is minimal (we expect no more than four invulnerables) and restricted to testnets.
AccountId
): Option<StakingLedger>
#
ledger(- interface:
api.query.staking.ledger
- summary: Map from all (unlocked) "controller" accounts to the info regarding the staking.
Option<u32>
#
maxNominatorsCount(): interface:
api.query.staking.maxNominatorsCount
summary: The maximum nominator count before we stop allowing new validators to join.
When this value is not set, no limits are enforced.
Option<u32>
#
maxValidatorsCount(): interface:
api.query.staking.maxValidatorsCount
summary: The maximum validator count before we stop allowing new validators to join.
When this value is not set, no limits are enforced.
u32
#
minimumValidatorCount(): - interface:
api.query.staking.minimumValidatorCount
- summary: Minimum number of staking participants before emergency conditions are imposed.
BalanceOf
#
minNominatorBond(): - interface:
api.query.staking.minNominatorBond
- summary: The minimum active bond to become and maintain the role of a nominator.
BalanceOf
#
minValidatorBond(): - interface:
api.query.staking.minValidatorBond
- summary: The minimum active bond to become and maintain the role of a validator.
AccountId
): Option<Nominations>
#
nominators(interface:
api.query.staking.nominators
summary: The map from nominator stash key to the set of stash keys of all validators to nominate.
When updating this storage item, you must also update the
CounterForNominators
.
EraIndex, AccountId
): Option<BalanceOf>
#
nominatorSlashInEra(- interface:
api.query.staking.nominatorSlashInEra
- summary: All slashing events on nominators, mapped by era to the highest slash value of the era.
AccountId
): RewardDestination
#
payee(- interface:
api.query.staking.payee
- summary: Where the reward payment should be made. Keyed by stash.
AccountId
): Option<SlashingSpans>
#
slashingSpans(- interface:
api.query.staking.slashingSpans
- summary: Slashing spans for stash accounts.
Perbill
#
slashRewardFraction(): interface:
api.query.staking.slashRewardFraction
summary: The percentage of the slash that is distributed to reporters.
The rest of the slashed value is handled by the
Slash
.
(AccountId,SpanIndex)
): SpanRecord
#
spanSlash(- interface:
api.query.staking.spanSlash
- summary: Records information about the maximum slash of a stash within a slashing span, as well as how much reward has been paid out.
Releases
#
storageVersion(): interface:
api.query.staking.storageVersion
summary: True if network has been upgraded to this version. Storage version of the pallet.
This is set to v6.0.0 for new networks.
EraIndex
): Vec<UnappliedSlash>
#
unappliedSlashes(- interface:
api.query.staking.unappliedSlashes
- summary: All unapplied slashes that are queued for later.
u32
#
validatorCount(): - interface:
api.query.staking.validatorCount
- summary: The ideal number of staking participants.
AccountId
): ValidatorPrefs
#
validators(interface:
api.query.staking.validators
summary: The map from (wannabe) validator stash key to the preferences of that validator.
When updating this storage item, you must also update the
CounterForValidators
.
EraIndex, AccountId
): Option<(Perbill,BalanceOf)>
#
validatorSlashInEra(- interface:
api.query.staking.validatorSlashInEra
- summary: All slashing events on validators, mapped by era to the highest slash proportion and slash value of the era.
#
substrateThese are well-known keys that are always available to the runtime implementation of any Substrate-based network.
u32
#
changesTrieConfig(): - interface:
api.query.substrate.changesTrieConfig
- summary: Changes trie configuration is stored under this key.
u32
#
childStorageKeyPrefix(): - interface:
api.query.substrate.childStorageKeyPrefix
- summary: Prefix of child storage keys.
Bytes
#
code(): - interface:
api.query.substrate.code
- summary: Wasm code of the runtime.
u32
#
extrinsicIndex(): - interface:
api.query.substrate.extrinsicIndex
- summary: Current extrinsic index (u32) is stored under this key.
u64
#
heapPages(): - interface:
api.query.substrate.heapPages
- summary: Number of wasm linear memory pages required for execution of the runtime.
#
stakingPoolEraIndex
#
currentEra(): - interface:
api.query.stakingPool.currentEra
- summary: Current era index of Polkadot.
AccountId
): Balance
#
nextEraUnbonds(- interface:
api.query.stakingPool.nextEraUnbonds
- summary: Unbond on next era beginning by AccountId. AccountId => Unbond
Ledger
#
stakingPoolLedger(): - interface:
api.query.stakingPool.stakingPoolLedger
- summary: The ledger of staking pool.
Params
#
stakingPoolParams(): - interface:
api.query.stakingPool.stakingPoolParams
- summary: The params of staking pool.
EraIndex
): (Balance,Balance,Balance)
#
unbonding(- interface:
api.query.stakingPool.unbonding
- summary: The records of unbonding. ExpiredEraIndex => (TotalUnbounding, ClaimedUnbonding, InitialClaimedUnbonding)
AccountId, EraIndex
): Balance
#
unbondings(- interface:
api.query.stakingPool.unbondings
- summary: The records of unbonding by AccountId. AccountId, ExpiredEraIndex => Unbounding
#
sudoAccountId
#
key(): - interface:
api.query.sudo.key
- summary: The
AccountId
of the sudo key.
#
systemAccountId
): AccountInfo
#
account(- interface:
api.query.system.account
- summary: The full account information for a particular account ID.
Option<u32>
#
allExtrinsicsLen(): - interface:
api.query.system.allExtrinsicsLen
- summary: Total length (in bytes) for all extrinsics put together, for the current block.
BlockNumber
): Hash
#
blockHash(- interface:
api.query.system.blockHash
- summary: Map of block numbers to block hashes.
ConsumedWeight
#
blockWeight(): - interface:
api.query.system.blockWeight
- summary: The current weight for the block.
DigestOf
#
digest(): - interface:
api.query.system.digest
- summary: Digest of the current block, also part of the block header.
EventIndex
#
eventCount(): - interface:
api.query.system.eventCount
- summary: The number of events in the
Events<T>
list.
Vec<EventRecord>
#
events(): - interface:
api.query.system.events
- summary: Events deposited for the current block.
Hash
): Vec<(BlockNumber,EventIndex)>
#
eventTopics(interface:
api.query.system.eventTopics
summary: Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the
<Events<T>>
list.All topic vectors have deterministic storage locations depending on the topic. This allows light-clients to leverage the changes trie storage tracking mechanism and in case of changes fetch the list of events of interest.
The value has the type
(T::BlockNumber, EventIndex)
because if we used only just theEventIndex
then in case if the topic has the same contents on the next block no notification will be triggered thus the event might be lost.
Option<Phase>
#
executionPhase(): - interface:
api.query.system.executionPhase
- summary: The execution phase of the block.
Option<u32>
#
extrinsicCount(): - interface:
api.query.system.extrinsicCount
- summary: Total extrinsics count for the current block.
u32
): Bytes
#
extrinsicData(- interface:
api.query.system.extrinsicData
- summary: Extrinsics data for the current block (maps an extrinsic's index to its data).
Option<LastRuntimeUpgradeInfo>
#
lastRuntimeUpgrade(): - interface:
api.query.system.lastRuntimeUpgrade
- summary: Stores the
spec_version
andspec_name
of when the last runtime upgrade happened.
BlockNumber
#
number(): - interface:
api.query.system.number
- summary: The current block number being processed. Set by
execute_block
.
Hash
#
parentHash(): - interface:
api.query.system.parentHash
- summary: Hash of the previous block.
bool
#
upgradedToTripleRefCount(): - interface:
api.query.system.upgradedToTripleRefCount
- summary: True if we have upgraded so that AccountInfo contains three types of
RefCount
. False (default) if not.
bool
#
upgradedToU32RefCount(): - interface:
api.query.system.upgradedToU32RefCount
- summary: True if we have upgraded so that
type RefCount
isu32
. False (default) if not.
#
technicalCommitteeVec<AccountId>
#
members(): - interface:
api.query.technicalCommittee.members
- summary: The current members of the collective. This is stored sorted (just by value).
Option<AccountId>
#
prime(): - interface:
api.query.technicalCommittee.prime
- summary: The prime member that helps determine the default vote behavior in case of absentations.
u32
#
proposalCount(): - interface:
api.query.technicalCommittee.proposalCount
- summary: Proposals so far.
Hash
): Option<Proposal>
#
proposalOf(- interface:
api.query.technicalCommittee.proposalOf
- summary: Actual proposal for a given hash, if it's current.
Vec<Hash>
#
proposals(): - interface:
api.query.technicalCommittee.proposals
- summary: The hashes of the active proposals.
Hash
): Option<Votes>
#
voting(- interface:
api.query.technicalCommittee.voting
- summary: Votes on a given proposal, if it is ongoing.
#
technicalCommitteeMembershipVec<AccountId>
#
members(): - interface:
api.query.technicalMembership.members
- summary: The current membership, stored as an ordered Vec.
Option<AccountId>
#
prime(): - interface:
api.query.technicalMembership.prime
- summary: The current prime member, if one exists.
#
timestampbool
#
didUpdate(): - interface:
api.query.timestamp.didUpdate
- summary: Did the timestamp get updated in this block?
Moment
#
now(): - interface:
api.query.timestamp.now
- summary: Current time for the current block.
#
tipsHash
): Option<Bytes>
#
reasons(- interface:
api.query.tips.reasons
- summary: Simple preimage lookup from the reason's hash to the original data. Again, has an insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
Hash
): Option<OpenTip>
#
tips(- interface:
api.query.tips.tips
- summary: TipsMap that are not yet completed. Keyed by the hash of
(reason, who)
from the value. This has the insecure enumerable hash function since the key itself is already guaranteed to be a secure hash.
#
tokensAccountId, CurrencyId
): AccountData
#
accounts(interface:
api.query.tokens.accounts
summary: The balance of a token type under an account.
NOTE: If the total is ever zero, decrease account ref account.
NOTE: This is only used in the case that this module is used to store balances.
AccountId, CurrencyId
): Vec<BalanceLock>
#
locks(- interface:
api.query.tokens.locks
- summary: Any liquidity locks of a token type under an account. NOTE: Should only be accessed when setting, changing and freeing a lock.
CurrencyId
): Balance
#
totalIssuance(- interface:
api.query.tokens.totalIssuance
- summary: The total issuance of a token type.
#
transactionStorageVec<TransactionInfo>
#
blockTransactions(): - interface:
api.query.transactionStorage.blockTransactions
Option<BalanceOf>
#
byteFee(): - interface:
api.query.transactionStorage.byteFee
- summary: Storage fee per byte.
BlockNumber
): u32
#
chunkCount(- interface:
api.query.transactionStorage.chunkCount
- summary: Count indexed chunks for each block.
Option<BalanceOf>
#
entryFee(): - interface:
api.query.transactionStorage.entryFee
- summary: Storage fee per transaction.
u32
#
maxBlockTransactions(): - interface:
api.query.transactionStorage.maxBlockTransactions
- summary: Maximum number of indexed transactions in the block.
u32
#
maxTransactionSize(): - interface:
api.query.transactionStorage.maxTransactionSize
- summary: Maximum data set in a single transaction in bytes.
bool
#
proofChecked(): - interface:
api.query.transactionStorage.proofChecked
- summary: Was the proof checked in this block?
BlockNumber
#
storagePeriod(): - interface:
api.query.transactionStorage.storagePeriod
- summary: Storage period for data in blocks. Should match
sp_storage_proof::DEFAULT_STORAGE_PERIOD
for block authoring.
BlockNumber
): Option<Vec<TransactionInfo>>
#
transactions(- interface:
api.query.transactionStorage.transactions
- summary: Collection of transaction metadata by block number.
#
treasuryVec<ProposalIndex>
#
approvals(): - interface:
api.query.treasury.approvals
- summary: Proposal indices that have been approved but not yet awarded.
ProposalIndex
#
proposalCount(): - interface:
api.query.treasury.proposalCount
- summary: Number of proposals that have been made.
ProposalIndex
): Option<TreasuryProposal>
#
proposals(- interface:
api.query.treasury.proposals
- summary: Proposals that have been made.
#
uniquesAccountId, ClassId, InstanceId
): Option<()>
#
account(- interface:
api.query.uniques.account
- summary: The assets held by any given account; set out this way so that assets owned by a single account can be enumerated.
ClassId, InstanceId
): Option<InstanceDetails>
#
asset(- interface:
api.query.uniques.asset
- summary: The assets in existence and their ownership details.
ClassId, Option<InstanceId>, Bytes
): Option<(Bytes,DepositBalanceOf)>
#
attribute(- interface:
api.query.uniques.attribute
- summary: Metadata of an asset class.
ClassId
): Option<ClassDetails>
#
class(- interface:
api.query.uniques.class
- summary: Details of an asset class.
ClassId
): Option<ClassMetadata>
#
classMetadataOf(- interface:
api.query.uniques.classMetadataOf
- summary: Metadata of an asset class.
ClassId, InstanceId
): Option<InstanceMetadata>
#
instanceMetadataOf(- interface:
api.query.uniques.instanceMetadataOf
- summary: Metadata of an asset instance.
#
vestingAccountId
): Option<VestingInfo>
#
vesting(- interface:
api.query.vesting.vesting
- summary: Information regarding the vesting of a given account.