[#btck-PrecomputedTransactionData-2constructor]
= xref:btck.adoc[btck]::xref:btck/PrecomputedTransactionData.adoc[PrecomputedTransactionData]::PrecomputedTransactionData
:relfileprefix: ../../
:mrdocs:

Precomputes signature&hyphen;hash data for verifying a transaction&apos;s inputs&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
PrecomputedTransactionData(
    xref:btck/Transaction.adoc[Transaction] const& tx&lowbar;to,
    std::span&lt;TransactionOutput const&gt; spent&lowbar;outputs);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx&lowbar;to*
| The transaction whose inputs will be verified&period;
| *spent&lowbar;outputs*
| The outputs spent by `tx&lowbar;to,` in input order&period;
|===


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