[#CChain-Next]
= xref:CChain.adoc[CChain]::Next
:relfileprefix: ../
:mrdocs:

Find the successor of a block in this chain, or nullptr if the given index is not found or is the tip&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBlockIndex.adoc[CBlockIndex]*
Next(xref:CBlockIndex.adoc[CBlockIndex] const& index) const;
----

== Return Value

The next block index entry, or nullptr if the entry is absent or is the tip&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| The block index entry whose successor is wanted&period;
|===


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