Skip to main content

eth_getBlockTransactionCountByHash RPC Method

Loading...

Updated on
Mar 24, 2026

eth_getBlockTransactionCountByHash RPC Method

Parameters

hash
string
REQUIRED
Loading...

Returns

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