eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block identified by its number.

Parameters

Returns


Request

{
  "jsonrpc": "2.0",
  "method": "eth_getBlockTransactionCountByNumber",
  "params": ["0x1b4"],
  "id": 1
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1"
}

Last updated