[#TxGraph-GetTransactionCount]
= xref:TxGraph.adoc[TxGraph]::GetTransactionCount
:relfileprefix: ../
:mrdocs:

Get the total number of transactions in the graph&period; This is available even for oversized graphs&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:TxGraph/GraphIndex.adoc[GraphIndex]
GetTransactionCount(xref:TxGraph/Level.adoc[Level] level) noexcept = 0;
----

== Return Value

The number of transactions in the selected graph&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *level*
| Which graph (main or staging) to query&period;
|===


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