📍ftm.getBlockTransactionCount()

Description: Returns the number of transactions in a given block.

Parameters

Name

Type

Description

blockNumber or blockHash

integer / string

The block number or hash.

function (optional)

function

Optional callback function, where the first parameter is an error object and the second is the result.

Returns

Type

Description

number

The number of transactions in the given block.

Last updated