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 Number
AI-generatedSummary
Retrieves the number of uncles (OMG blocks) for a specified Ethereum block using the teckel platform.
Inputs
- Network — The blockchain network to query: mainnet or sepolia.
- Block — The block number or identifier to query (e.g., 'latest', 'earliest', 'pending', 'safe', or a specific integer).
Output shape
A single record containing the uncle count as a string (e.g., '0x0' or '0x1').
The value is returned as a hexadecimal string.
Examples
Example 1: Query the latest block for uncles on the mainnet
Network: mainnet, Block: latest
Example 2: Check the number of uncles in block 15000000 on Sepolia
Network: sepolia, Block: 15000000