Skip to main content

eth_getBlockTransactionCountByHash RPC Method

Loading...

Updated on
May 06, 2026

eth_getBlockTransactionCountByHash RPC Method

Parameters

hash
string
REQUIRED
Loading...

Returns

result
Loading...
Request
1
curl -X POST "https://docs-demo.bsc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_getBlockTransactionCountByHash",
6
"params": [
7
"0x94c626286c237e187454ddd993adc534f0ce3468aaec134a39fbd52185cc3a5f"
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.bsc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_getBlockTransactionCountByHash",
6
"params": [
7
"0x94c626286c237e187454ddd993adc534f0ce3468aaec134a39fbd52185cc3a5f"
8
],
9
"id": 1
10
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x5e"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x5e"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free