+ /**
+ * The feerate to use on the HTLC claiming transaction. This is always `0` for HTLCs
+ * originating from a channel supporting anchor outputs, otherwise it is the channel's
+ * negotiated feerate at the time the commitment transaction was built.
+ */
+ public get_feerate_per_kw(): number {
+ const ret: number = bindings.HTLCDescriptor_get_feerate_per_kw(this.ptr);
+ return ret;
+ }
+
+ /**
+ * The feerate to use on the HTLC claiming transaction. This is always `0` for HTLCs
+ * originating from a channel supporting anchor outputs, otherwise it is the channel's
+ * negotiated feerate at the time the commitment transaction was built.
+ */
+ public set_feerate_per_kw(val: number): void {
+ bindings.HTLCDescriptor_set_feerate_per_kw(this.ptr, val);
+ }
+