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


Params - a string array containing (required):

  • QUANTITY|TAG(hex string|string, required) - integer block number in hex string format, or the string "earliest", "latest" or "pending", as in the default block parameter.


QUANTITY(hex string) - integer of the number of transactions in this block.

Click Try It! to start a request and see the response here!