[#TransactionMerklePath]
= TransactionMerklePath
:mrdocs:

Compute merkle path to the specified transaction

== Synopsis

Declared in `&lt;consensus&sol;merkle&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;uint256&gt;
TransactionMerklePath(
    xref:CBlock.adoc[CBlock] const& block,
    uint32&lowbar;t position);
----

== Return Value

merkle path ordered from the deepest

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block* [in]
| the block
| *position* [in]
| transaction for which to calculate the merkle path (0 is the coinbase)
|===


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