Eth getUncleCountByBlockHash

Returns the number of transactions in a block matching the given block number.

post

Request body sample: {"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["0xe8"],"id":1}

Body
idintegerOptional
jsonrpcstringOptional
methodstringOptional
Responses
200
OK
application/json
post
POST / HTTP/1.1
Host: eth_getUncleCountByBlockHash
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "id": 1,
  "jsonrpc": "text",
  "method": "text",
  "params": []
}
200

OK

{
  "id": 1,
  "jsonrpc": "text",
  "result": "text"
}