Skip to main content
POST
Returns the number of transactions in a block matching the given block number

Body

number
Serves as a unique identifier for the request
string
Indicates the version of JSON-RPC being used
string
Represents the name of the remote procedure or method to be called
array
Contains the list of parameters passed to the remote method
string
Hexadecimal block number, or the string “latest”, “earliest” or “pending”

Response

number
Returns unique identifier for the request
string
Returns the version of JSON-RPC being used
string
A hex code of the integer representing the number of transactions in the provided block