Interface ISubstrateClientAt<ChainApi>

A generic interface for Substrate clients at a specific block

interface ISubstrateClientAt<ChainApi> {
    atBlockHash?: `0x${string}`;
    call: ChainApi["call"];
    consts: ChainApi["consts"];
    errors: ChainApi["errors"];
    events: ChainApi["events"];
    genesisHash: `0x${string}`;
    metadata: Metadata;
    options: ApiOptions;
    query: ChainApi["query"];
    registry: PortableRegistry;
    rpc: ChainApi["rpc"];
    rpcVersion: RpcVersion;
    runtimeVersion: SubstrateRuntimeVersion;
}

Type Parameters

Hierarchy (view full)

Properties

atBlockHash?: `0x${string}`
call: ChainApi["call"]
consts: ChainApi["consts"]
errors: ChainApi["errors"]
events: ChainApi["events"]
genesisHash: `0x${string}`
metadata: Metadata
options: ApiOptions
query: ChainApi["query"]
rpc: ChainApi["rpc"]
rpcVersion: RpcVersion
runtimeVersion: SubstrateRuntimeVersion