[#btck_block_count_transactions]
= btck&lowbar;block&lowbar;count&lowbar;transactions
:mrdocs:

Count the number of transactions contained in a block&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;&lowbar;&lowbar;nonnull&lowbar;&lowbar;&rsqb;&rsqb;
size&lowbar;t
btck&lowbar;block&lowbar;count&lowbar;transactions(xref:btck_Block-04.adoc[btck&lowbar;Block] const* block);
----

== Return Value

The number of transactions in the block&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block* [in]
| Non&hyphen;null&period;
|===


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