hmy_getBlockTransactionCountByNumber
GetBlockTransactionCount
Get the number of transactions in a block by the block's index in the chain.
API v1
Parameters
Number
- The block number.
Returns
Number
- The number of transactions in the given block.
Sample Curl Request
Sample Curl Response
API v2
Parameters
Number
- The block number.
Returns
Number
- The number of transactions in the given block.
Sample Curl Request
Sample Curl Response
Last updated