eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block matching the given block number.
Parameters
block_tag*
Type: oneOf: Quantity (hex) | Tag
Enter a block number or latest
Returns
string
📤 Request
curl --request POST \
--url https://testnet-rpc.monad.xyz \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 0,
"jsonrpc": "2.0",
"method": "eth_getBlockTransactionCountByNumber",
"params": []
}
'