[#btck-CheckTransaction]
= xref:btck.adoc[btck]::CheckTransaction
:relfileprefix: ../
:mrdocs:

Runs consensus&hyphen;level checks on a standalone transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
CheckTransaction(
    xref:btck/Transaction.adoc[Transaction] const& tx,
    xref:btck/TxValidationState.adoc[TxValidationState]& state);
----

== Return Value

True when the transaction passes the checks&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction to check&period;
| *state*
| Receives the validation result&period;
|===


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