Eth getBlockTransactionCountByNumber

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

post

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

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

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

OK

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