getBlockTransactionCount

abstract fun getBlockTransactionCount(blockTag: BlockTag): Request<Int>

Get the block transaction count.

Get the number of transactions in a given block.

Parameters

blockTag

The tag of the block.

Throws


abstract fun getBlockTransactionCount(blockHash: Felt): Request<Int>

Get the block transaction count.

Get the number of transactions in a given block.

Parameters

blockHash

The hash of the block.

Throws


abstract fun getBlockTransactionCount(blockNumber: Int): Request<Int>

Get the block transaction count.

Get the number of transactions in a given block.

Parameters

blockNumber

The number of the block.

Throws