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": [
"0x729eea5dd371632d98ceffaadefedc33d245374786c5d181c7b3eec63ee7b36c"
],
"id": 1
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x8"
}
Last updated