Interface ChannelEdge

A fully authenticated channel along with all its unique attributes. Once an authenticated channel announcement has been processed on the network, then an instance of ChannelEdgeInfo encapsulating the channels attributes is stored. The other portions relevant to routing policy of a channel are stored within a ChannelEdgePolicy for each direction of the channel.

Hierarchy

  • ChannelEdge

Properties

capacity: string | number
chanPoint: string
channelId: string | number

The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.

node1Policy: undefined | RoutingPolicy
node1Pub: string
node2Policy: undefined | RoutingPolicy
node2Pub: string

Generated using TypeDoc