Namespace Constants

Constants reference

Each item described here is a PlainDescriptor<T>

For example, System.Version is of type

Version: PlainDescriptor<{
apis: [FixedSizeBinary<8>, number][];
authoring_version: number;
impl_name: string;
impl_version: number;
spec_name: string;
spec_version: number;
state_version: number;
transaction_version: number;
}>

and can be queried via

const version = await typedApi.constants.System.Version()
console.log(version.spec_version)

PAPI docs on constants for more

Namespaces

Auctions
Babe
Balances
Beefy
Bounties
ChildBounties
Claims
ConvictionVoting
Coretime
Crowdloan
ElectionProviderMultiPhase
FastUnstake
Grandpa
Indices
MessageQueue
Multisig
NominationPools
OnDemand
Paras
Proxy
Referenda
Registrar
Scheduler
Slots
Staking
StateTrieMigration
System
Timestamp
TransactionPayment
Treasury
Utility
Vesting
VoterList