Represents an IBC Connection between two chains, which can contain multiple Channels.

interface IBCConnectionInfo {
    client_id: string;
    counterparty: {
        client_id: string;
        connection_id: `connection-${number}`;
        prefix: {
            key_prefix: string;
        };
    };
    id: `connection-${number}`;
    state: State;
    transferChannel: {
        channelId: `channel-${number}`;
        counterPartyChannelId: `channel-${number}`;
        counterPartyPortId: string;
        ordering: Order;
        portId: string;
        state: State;
        version: string;
    };
}

Properties

client_id: string
counterparty: {
    client_id: string;
    connection_id: `connection-${number}`;
    prefix: {
        key_prefix: string;
    };
}
id: `connection-${number}`
state: State
transferChannel: {
    channelId: `channel-${number}`;
    counterPartyChannelId: `channel-${number}`;
    counterPartyPortId: string;
    ordering: Order;
    portId: string;
    state: State;
    version: string;
}