eth_getUncleCountByBlockNumber
Returns the number of uncles in a given block number.
Last updated
Returns the number of uncles in a given block number.
Quantity or tag - choose 1 of the following options:
A hexadecimal block number.
"earliest" - the earliest/genesis block.
"latest" - the latest mined block.
"safe" - the latest safe head block.
"finalized" - the latest finalized block.
"pending" - the pending state/transactions.
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockNumber",
"params": [
"0x9E15b0"
]
}'Last updated
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}