Skip to main content

eth_getBlockTransactionCountByHash RPC Method

Loading...

Updated on
Sep 29, 2025

eth_getBlockTransactionCountByHash RPC Method

Parameters

hash
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_getBlockTransactionCountByHash","params":["0xd1bec3a434c2ed0a3a88eae08350727982c2e46e32b6eaac8d2546f512db1031"],"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