Skip to main content

eth_getBlockTransactionCountByNumber RPC Method

Loading...

Updated on
Sep 29, 2025

eth_getBlockTransactionCountByNumber RPC Method

Parameters

blockNumber
string
REQUIRED
Loading...

Returns

result
string
Loading...
Request
1
curl https://docs-demo.xlayer-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"eth_getBlockTransactionCountByNumber","params":["0x22b12e4"],"id":1,"jsonrpc":"2.0"}'
5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free