eth_getBlockTransactionCountByNumber
Returns the number of transactions in the block with the given block number.
Example
BLOCK PARAMETER
- Anint
block number in the form of hex, appended with 0x such as0x6DF59C
, or pre-defined stringslatest
,earliest
,pending
.
Web3API's Composer accepts int
block numbers, which will be auto-converted to a hex representation before being sent to a node.
Last updated