Info used to identify blockchains across ecosystems

interface BaseChainInfo<N> {
    cctpDestinationDomain?: number;
    namespace: N;
    reference: N extends "eip155"
        ? `${number}`
        : string;
}

Type Parameters

Hierarchy (view full)

Properties

cctpDestinationDomain?: number

Circle CCTP Destination Domain

namespace: N

CAIP-2 namespace, e.g. 'cosmos', 'eip155'

reference: N extends "eip155"
    ? `${number}`
    : string

CAIP-2 reference, e.g. 1, agoric-3`