Skip to main content

eth_getBlockTransactionCountByNumber RPC Method

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

Updated on
Aug 07, 2024

eth_getBlockTransactionCountByNumber RPC Method

Parameters

blockNumber
string
REQUIRED
The block number as a string in hexadecimal format or tags

Returns

result
string
The number of transactions in a specific block represented in hexadecimal format
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free