[#CheckFinalTxAtTip]
= CheckFinalTxAtTip
:mrdocs:

Check if transaction will be final in the next block to be created&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b92a4c8), requires&lowbar;capability(0x7f2e275a36a8), requires&lowbar;capability(0x7f2e36964aa8), requires&lowbar;capability(0x7f2e35450cf8)&rsqb;&rsqb;
bool
CheckFinalTxAtTip(
    xref:CBlockIndex.adoc[CBlockIndex] const& active&lowbar;chain&lowbar;tip,
    xref:CTransaction.adoc[CTransaction] const& tx);
----

== Return Value

true if the transaction would be final in the next block&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *active&lowbar;chain&lowbar;tip*
| Tip of the active chain the next block would build on&period;
| *tx*
| The transaction being evaluated&period;
|===


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