eth_getBlockTransactionCountByNumber

Returns the number of transactions for the block matching the given block number

Parameters

QUANTITY|TAG - integer of a block number, or the string "earliest", "latest" or "pending", as in the default block parameter.

Returns

QUANTITY - integer of the number of transactions in this block.

Language
Click Try It! to start a request and see the response here!