+ bindings.ChannelCounterparty_set_forwarding_info(this.ptr, val == null ? 0n : CommonBase.get_ptr_of(val));
+ CommonBase.add_ref_from(this, val);
+ }
+
+ /**
+ * The smallest value HTLC (in msat) the remote peer will accept, for this channel. This field
+ * is only `None` before we have received either the `OpenChannel` or `AcceptChannel` message
+ * from the remote peer, or for `ChannelCounterparty` objects serialized prior to LDK 0.0.107.
+ */
+ public get_outbound_htlc_minimum_msat(): Option_u64Z {
+ const ret: bigint = bindings.ChannelCounterparty_get_outbound_htlc_minimum_msat(this.ptr);
+ const ret_hu_conv: Option_u64Z = Option_u64Z.constr_from_ptr(ret);
+ CommonBase.add_ref_from(ret_hu_conv, this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * The smallest value HTLC (in msat) the remote peer will accept, for this channel. This field
+ * is only `None` before we have received either the `OpenChannel` or `AcceptChannel` message
+ * from the remote peer, or for `ChannelCounterparty` objects serialized prior to LDK 0.0.107.
+ */
+ public set_outbound_htlc_minimum_msat(val: Option_u64Z): void {
+ bindings.ChannelCounterparty_set_outbound_htlc_minimum_msat(this.ptr, CommonBase.get_ptr_of(val));
+ }
+
+ /**
+ * The largest value HTLC (in msat) the remote peer currently will accept, for this channel.
+ */
+ public get_outbound_htlc_maximum_msat(): Option_u64Z {
+ const ret: bigint = bindings.ChannelCounterparty_get_outbound_htlc_maximum_msat(this.ptr);
+ const ret_hu_conv: Option_u64Z = Option_u64Z.constr_from_ptr(ret);
+ CommonBase.add_ref_from(ret_hu_conv, this);
+ return ret_hu_conv;
+ }
+
+ /**
+ * The largest value HTLC (in msat) the remote peer currently will accept, for this channel.
+ */
+ public set_outbound_htlc_maximum_msat(val: Option_u64Z): void {
+ bindings.ChannelCounterparty_set_outbound_htlc_maximum_msat(this.ptr, CommonBase.get_ptr_of(val));