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
AuraApi
AuraUnincludedSegmentApi
BlockBuilder
BridgeHubRococoFinalityApi
CollectCollationInfo
ControlApi
Core
DryRunApi
FromBridgeHubRococoInboundLaneApi
GenesisBuilder
GetCoreSelectorApi
LocationToAccountApi
Metadata
OffchainWorkerApi
OutboundQueueApi
RococoFinalityApi
SessionKeys
TaggedTransactionQueue
ToBridgeHubRococoOutboundLaneApi
TransactionPaymentApi
TransactionPaymentCallApi
TrustedQueryApi
XcmPaymentApi