[#IsFinalTx]
= IsFinalTx
:mrdocs:

Check if transaction is final and can be included in a block with the specified height and time&period; Consensus critical&period;

== Synopsis

Declared in `&lt;consensus&sol;tx&lowbar;verify&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsFinalTx(
    xref:CTransaction.adoc[CTransaction] const& tx,
    int nBlockHeight,
    int64&lowbar;t nBlockTime);
----

== Return Value

true if tx is final at the given height and time&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction to test for finality&period;
| *nBlockHeight*
| Height of the block that would contain tx&period;
| *nBlockTime*
| Time of the block that would contain tx&period;
|===


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