curl https://site1.moralis-nodes.com/opbnb/:apiKey \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["0xe8"], "id": 1}'
{ "jsonrpc": "2.0", "id": 1, "result": "0x0" }
Returns the number of transactions in a block matching the given block number.
params
[ "0xe8" ]