跳转到内容

eth_getBlockTransactionCountByNumber

此内容尚不支持你的语言。

Returns the number of transactions in a block by number.

ParameterTypeRequiredDescription
blockblockTagYesBlock number or tag
{
"jsonrpc": "2.0",
"method": "eth_getBlockTransactionCountByNumber",
"params": [
"latest"
],
"id": 1
}
Terminal window
curl -X POST https://arb-mainnet.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["latest"],"id":1}'