EVM RPC API
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block given the block’s block number.
Parameters
QUANTITY|TAG
- Integer block number or one of “earliest”, “latest” or “pending”
Returns
QUANTITY
- Integer of the number of transactions in this block
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: eth_getBlockTransactionCountByNumberrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
string
required