eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block matching the given block number.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block number or tagstring or enumRequired

The block number or special tags like ‘latest’, ‘earliest’, or ‘pending’.

Response

The number of transactions in the block as a hexadecimal string.