Skip to main content

eth_getBlockTransactionCountByHash RPC Method

Loading...

Updated on
Feb 09, 2026

eth_getBlockTransactionCountByHash RPC Method

Parameters

hash
string
REQUIRED
Loading...

Returns

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