Channel defines pipeline for exactly-once packet delivery between specific modules on separate blockchains, which has at least one end capable of sending packets and one end capable of receiving packets.

interface Channel {
    connectionHops: string[];
    counterparty: undefined | Counterparty;
    ordering: Order;
    state: State;
    version: string;
}

Properties

connectionHops: string[]

list of connection identifiers, in order, along which packets sent on this channel will travel

counterparty: undefined | Counterparty

counterparty channel end

ordering: Order

whether the channel is ordered or unordered

state: State

current state of the channel end

version: string

opaque channel version, which is agreed upon during the handshake