[#MutableTransactionSignatureCreator-2constructor-08]
= xref:MutableTransactionSignatureCreator.adoc[MutableTransactionSignatureCreator]::MutableTransactionSignatureCreator
:relfileprefix: ../
:mrdocs:

Construct a signature creator reusing precomputed transaction data&period;

== Synopsis

Declared in `&lt;script&sol;sign&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
MutableTransactionSignatureCreator(
    xref:CMutableTransaction.adoc[CMutableTransaction] const& tx,
    unsigned int input&lowbar;idx,
    xref:CAmount.adoc[CAmount] const& amount,
    xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData] const* txdata,
    xref:SignOptions.adoc[SignOptions] const& options);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction whose input is being signed&period;
| *input&lowbar;idx*
| The index of the input to sign&period;
| *amount*
| The value of the output being spent&period;
| *txdata*
| Precomputed transaction data shared across inputs&period;
| *options*
| Options controlling how the input is signed&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
