AddInputs

Normalize univalue-represented inputs and add them to the transaction

Synopsis

Declared in <rpc/rawtransaction_util.h>

void
AddInputs(
    CMutableTransaction& rawTx,
    UniValue const& inputs_in,
    bool rbf);

Parameters

NameDescription
rawTxThe transaction the inputs are appended to.
inputs_inThe univalue array of inputs to normalize and add.
rbfWhether to signal replace-by-fee on the added inputs.