Info for a Cosmos-based chain.

interface CosmosChainInfo {
    bech32Prefix: string;
    cctpDestinationDomain?: number;
    chainId: string;
    connections?: Record<string, IBCConnectionInfo>;
    icaEnabled?: boolean;
    icqEnabled?: boolean;
    namespace: "cosmos";
    pfmEnabled?: boolean;
    reference: string;
    stakingTokens?: readonly {
        denom: string;
    }[];
}

Hierarchy (view full)

Properties

bech32Prefix: string

can be used to lookup chainInfo (chainId) from an address value

cctpDestinationDomain?: number

Circle CCTP Destination Domain

chainId: string

Cosmos chain ID. The CAIP-2 fields (namespace, reference) are on BaseChainInfo.

connections?: Record<string, IBCConnectionInfo>

IBC connections between this chain and others, keyed by chainId

icaEnabled?: boolean

indicates the host chain supports Interchain Accounts (ICS-27). Not currently used at runtime - only for types

icqEnabled?: boolean

indicates the host chain support the async-icq IBC Application protocol. Used at runtime to permit Chain.query() operations.

in the future (@see https://github.com/Agoric/agoric-sdk/issues/9326), querying will be supported by the ICA protocol natively and this will likely deprecate

namespace

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

pfmEnabled?: boolean

Note: developers must provide this value themselves for .transfer to work as expected. Please see examples for details.

reference: string

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

stakingTokens?: readonly {
    denom: string;
}[]