Add inputs and outputs to a raw transaction
Source:R/raw_transactions.R
mc_append_raw_transaction.RdAppends additional inputs and outputs to an existing raw transaction. This is useful for building multi‑party transactions or adding extra components after creation.
Arguments
- conn
A connection object created by
mc_connect.- tx_hex
Character string. The raw transaction hex to which inputs/outputs are added.
- inputs
A list of input objects (each with
txidandvout).- outputs
A named list of outputs (mapping addresses to amounts).