All chains
    Preparing search index...

    Namespace Constants

    Constants reference

    Each item described here is a PlainDescriptor<T>

    For example, System.Version is of type

    Version: PlainDescriptor<{
    apis: [FixedSizeBinary<8>, number][];
    authoring_version: number;
    impl_name: string;
    impl_version: number;
    spec_name: string;
    spec_version: number;
    state_version: number;
    transaction_version: number;
    }>

    and can be queried via

    const version = await typedApi.constants.System.Version()
    console.log(version.spec_version)

    PAPI docs on constants for more

    Namespaces

    Aura
    Balances
    BridgeKusamaGrandpa
    BridgeKusamaParachains
    CollatorSelection
    EthereumBeaconClient
    EthereumInboundQueue
    EthereumInboundQueueV2
    EthereumOutboundQueue
    EthereumOutboundQueueV2
    EthereumSystem
    MessageQueue
    Multisig
    ParachainSystem
    PolkadotXcm
    Session
    System
    Timestamp
    TransactionPayment
    Utility
    XcmOverBridgeHubKusama
    XcmpQueue