Namespace Events

Events

Each item described here is a PlainDescriptor<T>

For example, System.NewAccount is of type

NewAccount: PlainDescriptor<{ "account": SS58String }>;

and can be queried via

const newAccountEvents = await api.event.System.NewAccount.pull()
newAccountEvents.forEach(newAccount => {
const address: SS58String = newAccount.payload.account
console.log(address)
})

PAPI docs on events for more

Namespaces

AssetRate
Auctions
Balances
Bounties
ChildBounties
Claims
ConvictionVoting
Coretime
Crowdloan
ElectionProviderMultiPhase
FastUnstake
Grandpa
Hrmp
Indices
MessageQueue
Multisig
NominationPools
Offences
OnDemand
ParaInclusion
Parameters
Paras
ParasDisputes
Preimage
Proxy
Referenda
Registrar
Scheduler
Session
Slots
Staking
StateTrieMigration
Sudo
System
TransactionPayment
Treasury
Utility
Vesting
VoterList
Whitelist
XcmPallet