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

Alliance
AllianceMotion
AmbassadorCollective
AmbassadorCore
AmbassadorReferenda
AmbassadorSalary
AmbassadorTreasury
AssetRate
Balances
CollatorSelection
CumulusXcm
FellowshipCollective
FellowshipCore
FellowshipReferenda
FellowshipSalary
FellowshipTreasury
MessageQueue
Multisig
ParachainSystem
PolkadotXcm
Preimage
Proxy
Scheduler
Session
System
TransactionPayment
Utility
XcmpQueue