kaia_getBlockTransactionCountByNumber RPC Method
Parameters
BlockNumberOrTag
string
REQUIRED
The block number in integer or block tag(earliest and latest)
Returns
result
integer
The number of transactions in this block
Request
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "kaia_getBlockTransactionCountByNumber",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0x8E42A"10]11}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free