Skip to main content

Path parameters

apiKey
string
required
Your API key for authentication

Request

blockNumber
string
required
Integer of a block number, or the string “earliest”, “latest” or “pending”

Example request params

[
  "0x5BAE9E"
]
curl https://site1.moralis-nodes.com/bsc/:apiKey \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["0x5BAE9E"], "id": 1}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0"
}