v1
latestOpenAPI 3.0.02026-07-26541677.9 KBEthereum API
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block by block number
post/eth_getBlockTransactionCountByNumber
Request body
Response
Returns the number of transactions in the block
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}