eth_getBlockTransactionCountByNumber,通过区块号进行匹配,返回交易数。
参数
params: [
'0xe8', // 232
]
返回
例子
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["0xe8"],"id":1}'
// Result
{
"id":1,
"jsonrpc": "2.0",
"result": "0xa" // 10
}