[#CChain-operator_subs] = xref:CChain.adoc[CChain]::operator[] :relfileprefix: ../ :mrdocs: Returns the index entry at a particular height in this chain, or nullptr if no such height exists. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CBlockIndex.adoc[CBlockIndex]* operator[](int nHeight) const; ---- == Return Value The block index entry at the given height, or nullptr if out of range. == Parameters [cols="1,4"] |=== | Name| Description | *nHeight* | The height to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#