[#btck_block_get_header] = btck_block_get_header :mrdocs: Get the btck_BlockHeader from the block. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard, __nonnull__]] xref:btck_BlockHeader-00.adoc[btck_BlockHeader]* btck_block_get_header(xref:btck_Block-04.adoc[btck_Block] const* block); ---- == Description Creates a new btck_BlockHeader object from the block's header data. == Return Value btck_BlockHeader. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *block* [in] | Non‐null btck_Block |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#