[#CChain-operator_subs]
= xref:CChain.adoc[CChain]::operator&lsqb;&rsqb;
:relfileprefix: ../
:mrdocs:

Returns the index entry at a particular height in this chain, or nullptr if no such height exists&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBlockIndex.adoc[CBlockIndex]*
operator&lsqb;&rsqb;(int nHeight) const;
----

== Return Value

The block index entry at the given height, or nullptr if out of range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nHeight*
| The height to look up&period;
|===


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