+ create_blinded_payment_paths (recipient: number, first_hops: number, tlvs: bigint, amount_msats: bigint): bigint {
+ const recipient_conv: Uint8Array = bindings.decodeUint8Array(recipient);
+ const first_hops_conv_16_len: number = bindings.getArrayLength(first_hops);
+ const first_hops_conv_16_arr: ChannelDetails[] = new Array(first_hops_conv_16_len).fill(null);
+ for (var q = 0; q < first_hops_conv_16_len; q++) {
+ const first_hops_conv_16: bigint = bindings.getU64ArrayElem(first_hops, q);
+ const first_hops_conv_16_hu_conv: ChannelDetails = new ChannelDetails(null, first_hops_conv_16);
+ CommonBase.add_ref_from(first_hops_conv_16_hu_conv, this);
+ first_hops_conv_16_arr[q] = first_hops_conv_16_hu_conv;
+ }
+ bindings.freeWasmMemory(first_hops)
+ const tlvs_hu_conv: ReceiveTlvs = new ReceiveTlvs(null, tlvs);
+ CommonBase.add_ref_from(tlvs_hu_conv, this);
+ const ret: Result_CVec_C2Tuple_BlindedPayInfoBlindedPathZZNoneZ = arg.create_blinded_payment_paths(recipient_conv, first_hops_conv_16_arr, tlvs_hu_conv, amount_msats);
+ const result: bigint = ret == null ? 0n : ret.clone_ptr();
+ return result;
+ },