Class DirectedChannelInfo


  • public class DirectedChannelInfo
    extends Object
    A wrapper around [`ChannelInfo`] representing information about the channel as directed from a source node to a target node.
    • Method Detail

      • channel

        public ChannelInfo channel()
        Returns information for the channel.
      • htlc_maximum_msat

        public long htlc_maximum_msat()
        Returns the maximum HTLC amount allowed over the channel in the direction.
      • effective_capacity

        public EffectiveCapacity effective_capacity()
        Returns the [`EffectiveCapacity`] of the channel in the direction. This is either the total capacity from the funding transaction, if known, or the `htlc_maximum_msat` for the direction as advertised by the gossip network, if known, otherwise.