Namespace RuntimeCalls

Runtime calls

Each item described here is a RuntimeDescriptor<Args, ReturnType>

For example, Metadata.metadata_at_version is of type

metadata_at_version: RuntimeDescriptor<[version: number], Binary | undefined>

and can be called like this:

 const metadata = await api.apis.Metadata.metadata_at_version(15)
console.log(metadata?.asHex())
})

PAPI docs on runtime APIs for more

Namespaces

AccountNonceApi
AuthorityDiscoveryApi
BabeApi
BeefyApi
BeefyMmrApi
BlockBuilder
Core
DryRunApi
GenesisBuilder
GrandpaApi
Inflation
LocationToAccountApi
Metadata
MmrApi
NominationPoolsApi
OffchainWorkerApi
ParachainHost
SessionKeys
StakingApi
TaggedTransactionQueue
TransactionPaymentApi
TransactionPaymentCallApi
XcmPaymentApi