[TS] Update auto-generated bindings with changes + upstream changes
[ldk-java] / ts / structs / StaticPaymentOutputDescriptor.mts
index e45f97f3ff5821b8f31cbad537b3f6cf666140ee..a546cbb0266385710ede6fac59098b62bba376f2 100644 (file)
@@ -383,6 +383,17 @@ export class StaticPaymentOutputDescriptor extends CommonBase {
                bindings.StaticPaymentOutputDescriptor_set_outpoint(this.ptr, val == null ? 0 : CommonBase.get_ptr_of(val) & ~1);
        }
 
+       /**
+        * The output which is referenced by the given outpoint
+        * 
+        * Returns a copy of the field.
+        */
+       public get_output(): TxOut {
+               const ret: number = bindings.StaticPaymentOutputDescriptor_get_output(this.ptr);
+               const ret_conv: TxOut = new TxOut(null, ret);
+               return ret_conv;
+       }
+
        /**
         * The output which is referenced by the given outpoint
         */