getBlockTransactionCount

Retrieves the count of transactions within a block.

Usage

visionWeb.vs.getBlockTransactionCount(block);

Parameters

ParameterDescriptionTypeDefault
blockThe height of the block you wish to obtain transaction count data for.number | string-

Returns

Number

Example

visionWeb.vs.getBlockTransactionCount(37259);;
> 1