eth_getBlockTransactionCountByNumber - Ethereum
Shows you the number of transactions that have proceeded in this block after you enter its number
How to Use the eth_getBlockTransactionCountByNumber Method
Parameters
What you receive
Sample
Call
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["latest"],"id":0}'Outcome
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x50"
}Last updated