[#mempoolentry_wtxid-operator_call-07]
= xref:mempoolentry_wtxid.adoc[mempoolentry&lowbar;wtxid]::operator()
:relfileprefix: ../
:mrdocs:

Function call operators

== Synopses

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

Returns the wtxid of the given transaction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:mempoolentry_wtxid/result_type.adoc[result&lowbar;type]
xref:mempoolentry_wtxid/operator_call-00.adoc[operator()](xref:CTransactionRef.adoc[CTransactionRef] const& tx) const;
----

[.small]#xref:mempoolentry_wtxid/operator_call-00.adoc[_» more&period;&period;&period;_]#

Returns the wtxid of the given mempool entry&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:mempoolentry_wtxid/result_type.adoc[result&lowbar;type]
xref:mempoolentry_wtxid/operator_call-09.adoc[operator()](xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& entry) const;
----

[.small]#xref:mempoolentry_wtxid/operator_call-09.adoc[_» more&period;&period;&period;_]#

== Return Value

* The witness hash (wtxid) of the transaction&period;
* The witness hash (wtxid) of the entry&apos;s transaction&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction to hash&period;
| *entry*
| The mempool entry to read the transaction from&period;
|===


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