eth_getBlockTransactionCountByHash
Returns the number of transactions in a given block hash.
Parameters
Blockhash
- hash of the requested block.
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getBlockTransactionCountByHash",
"params": [
"0x656fcfdec6065b932607243d2fab1e80963454f7e058af1238a0f8aa62598ad8"
],
"id": 1
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2"
}
Last updated