[#CoinStatsIndex-LookUpStats]
= xref:CoinStatsIndex.adoc[CoinStatsIndex]::LookUpStats
:relfileprefix: ../
:mrdocs:

Look up UTXO set statistics for a specific block&period;

== Synopsis

Declared in `&lt;index&sol;coinstatsindex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;kernel::CCoinsStats&gt;
LookUpStats(xref:CBlockIndex.adoc[CBlockIndex] const& block&lowbar;index) const;
----

== Return Value

The statistics, or std&colon;&colon;nullopt if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;index*
| Block to compute statistics up to&period;
|===


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