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

AssignedSlots
Auctions
Babe
Balances
Beefy
ConvictionVoting
Coretime
Crowdloan
DelegatedStaking
ElectionProviderMultiPhase
FastUnstake
Grandpa
Identity
Indices
MessageQueue
MultiBlockMigrations
Multisig
NominationPools
OnDemandAssignmentProvider
Paras
Proxy
Recovery
Referenda
Registrar
Scheduler
Slots
Staking
System
Timestamp
TransactionPayment
Treasury
Utility
Vesting
VoterList