Skip to main content

addInputs

readonly addInputs!: ( utxos: CanResolveToUTxO[] ) => TxBuilderRunner

adds the given utxos to the transaction inputs; the elements of the array that don't satisfy the IUTxO interface will be resolved using the provider resolveUtxos method.

this method does not allow to specify plutus realated arguments.

for inputs that need redeemers, scripts and datums use addInput.

returns a reference to the same TxBuilderRunner.