Actions20
- Block Number
- Chain ID
- Gas Price
- Get Balance
- Get Block by Hash
- Get Block by Number
- Get Block Tx Count by Hash
- Get Block Tx Count by Number
- Get Code
- Get My Balance
- Get Transaction by Block Hash and Index
- Get Transaction by Block Number and Index
- Get Transaction by Hash
- Get Transaction Count
- Get Transaction Receipt
- Get Uncle Count by Block Hash
- Get Uncle Count by Block Number
- Help
- Peer Count
- Syncing
Get Uncle Count by Block Hash
AI-generatedSummary
Queries the Ethereum blockchain for the number of uncles in a specific block.
Inputs
- network — The Ethereum network to query (mainnet or sepolia).
- block_hash (required) — The hash of the block to query for uncle count (0x-prefixed hex).
Output shape
a single record containing the uncle count as a JSON string
The API returns the count as a hexadecimal string (e.g., '0x0').
Examples
Example 1: Check how many uncles were included in block 0x1a3f...
Operation: Get Uncle Count by Block Hash | Network: Mainnet | Block Hash: 0x1a3f...