Skip to main content

eth_getBlockTransactionCountByHash RPC Method

Loading...

Updated on
Feb 09, 2026

eth_getBlockTransactionCountByHash RPC Method

Parameters

hash
string
Loading...

Returns

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