Return value for constructApiPromise

interface ApiInfo {
    api: ApiPromise;
    chainName: string;
    safeXcmVersion: number;
    specName: string;
}

Properties

api: ApiPromise

Polkadot-js ApiPromise

chainName: string

Chain name of the chain which the api is connected to.

safeXcmVersion: number

SafeXcmVersion for the chain which the api is connected too.

specName: string

SpecName of the chain which the api is connected to.