EVM RPC API
eth_getBlockTransactionCountByHash
Returns the number of transactions in a block given the block’s block hash.
Parameters
DATA
, 32 Bytes - hash of a block
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_getBlockTransactionCountByHashrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
string
required