X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FQueryShortChannelIds.mts;fp=ts%2Fstructs%2FQueryShortChannelIds.mts;h=f84b4b253c973c23a9ed30a925b60a1ae5f7a42c;hb=bbf1ef578b7cfe9fc7d3ad8b6626ae6204e370e5;hp=b45901305f168eb26e614338f4a16f86bd08613f;hpb=65e786e1912ddad0d749508b8830cf30b37e784e;p=ldk-java diff --git a/ts/structs/QueryShortChannelIds.mts b/ts/structs/QueryShortChannelIds.mts index b4590130..f84b4b25 100644 --- a/ts/structs/QueryShortChannelIds.mts +++ b/ts/structs/QueryShortChannelIds.mts @@ -388,6 +388,17 @@ export class QueryShortChannelIds extends CommonBase { bindings.QueryShortChannelIds_set_chain_hash(this.ptr, bindings.encodeUint8Array(bindings.check_arr_len(val, 32))); } + /** + * The short_channel_ids that are being queried + * + * Returns a copy of the field. + */ + public get_short_channel_ids(): bigint[] { + const ret: number = bindings.QueryShortChannelIds_get_short_channel_ids(this.ptr); + const ret_conv: bigint[] = bindings.decodeUint64Array(ret); + return ret_conv; + } + /** * The short_channel_ids that are being queried */