X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FDelayedPaymentOutputDescriptor.mts;fp=ts%2Fstructs%2FDelayedPaymentOutputDescriptor.mts;h=f5f1768cf4583867bc8ddfa760ae3d39385d2f1e;hb=bbf1ef578b7cfe9fc7d3ad8b6626ae6204e370e5;hp=90c475f5fdba0cd0403720a2ecaaaa5eff4dde2f;hpb=65e786e1912ddad0d749508b8830cf30b37e784e;p=ldk-java diff --git a/ts/structs/DelayedPaymentOutputDescriptor.mts b/ts/structs/DelayedPaymentOutputDescriptor.mts index 90c475f5..f5f1768c 100644 --- a/ts/structs/DelayedPaymentOutputDescriptor.mts +++ b/ts/structs/DelayedPaymentOutputDescriptor.mts @@ -416,6 +416,17 @@ export class DelayedPaymentOutputDescriptor extends CommonBase { bindings.DelayedPaymentOutputDescriptor_set_to_self_delay(this.ptr, val); } + /** + * The output which is referenced by the given outpoint + * + * Returns a copy of the field. + */ + public get_output(): TxOut { + const ret: number = bindings.DelayedPaymentOutputDescriptor_get_output(this.ptr); + const ret_conv: TxOut = new TxOut(null, ret); + return ret_conv; + } + /** * The output which is referenced by the given outpoint */