Path parameters
string
required
Your API key for authentication
Request
string
required
Integer of a block number, or the string “earliest”, “latest” or “pending”
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl https://site1.moralis-nodes.com/blast/:apiKey \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["0xe8"], "id": 1}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}
Returns the number of transactions in a block matching the given block number.
params[
"0xe8"
]
curl https://site1.moralis-nodes.com/blast/:apiKey \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByNumber", "params": ["0xe8"], "id": 1}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}
