[#btck_witness_stack_count_items] = btck_witness_stack_count_items :mrdocs: Return the number of items in a witness stack. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[__nonnull__]] size_t btck_witness_stack_count_items(xref:btck_WitnessStack-0e.adoc[btck_WitnessStack] const* witness_stack); ---- == Return Value The number of witness stack items. == Parameters [cols="1,4"] |=== | Name| Description | *witness_stack* [in] | Non‐null. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#