+ handle_tx_add_input (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxAddInput = new TxAddInput(null, msg);
+ arg.handle_tx_add_input(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_add_output (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxAddOutput = new TxAddOutput(null, msg);
+ arg.handle_tx_add_output(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_remove_input (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxRemoveInput = new TxRemoveInput(null, msg);
+ arg.handle_tx_remove_input(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_remove_output (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxRemoveOutput = new TxRemoveOutput(null, msg);
+ arg.handle_tx_remove_output(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_complete (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxComplete = new TxComplete(null, msg);
+ arg.handle_tx_complete(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_signatures (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxSignatures = new TxSignatures(null, msg);
+ arg.handle_tx_signatures(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_init_rbf (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxInitRbf = new TxInitRbf(null, msg);
+ arg.handle_tx_init_rbf(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_ack_rbf (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxAckRbf = new TxAckRbf(null, msg);
+ arg.handle_tx_ack_rbf(their_node_id_conv, msg_hu_conv);
+ },
+ handle_tx_abort (their_node_id: number, msg: bigint): void {
+ const their_node_id_conv: Uint8Array = bindings.decodeUint8Array(their_node_id);
+ const msg_hu_conv: TxAbort = new TxAbort(null, msg);
+ arg.handle_tx_abort(their_node_id_conv, msg_hu_conv);
+ },
+ handle_update_add_htlc (their_node_id: number, msg: bigint): void {