[#ChainstateManager-CurrentChainstate]
= xref:ChainstateManager.adoc[ChainstateManager]::CurrentChainstate
:relfileprefix: ../
:mrdocs:

Return current chainstate targeting the most&hyphen;work, network tip&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1bc16f38), requires&lowbar;capability(0x7f2e146b5288), requires&lowbar;capability(0x7f2e298fa658), requires&lowbar;capability(0x7f2e360b7db8)&rsqb;&rsqb;
xref:Chainstate.adoc[Chainstate]&
CurrentChainstate() const;
----

== Return Value

The current most&hyphen;work chainstate&period;


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