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
AssetConversionApi
AssetRewards
AuraApi
AuraUnincludedSegmentApi
BlockBuilder
CollectCollationInfo
Core
DryRunApi
FungiblesApi
GenesisBuilder
GetCoreSelectorApi
LocationToAccountApi
Metadata
NftsApi
OffchainWorkerApi
ReviveApi
SessionKeys
TaggedTransactionQueue
TransactionPaymentApi
TransactionPaymentCallApi
TrustedQueryApi
XcmPaymentApi