eth
eth_getUncleByBlockNumberAndIndex
Returns uncle block data by block number and uncle index position.
Returns uncle block data by block number and uncle index position.
Parameters
| # | Type | Description |
|---|---|---|
| 1 | string | Block number (hex) or block tag ("latest", "earliest", "pending"). |
| 2 | string | Uncle index position (hex). |
Returns
Uncle block object (same format as eth_getBlockByNumber result), or null if no uncle exists at that index.
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getUncleByBlockNumberAndIndex",
"params": ["0x18CBA80", "0x0"],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
TRY IT
Notes
- PulseChain uses proof-of-stake, so this method returns
nullfor all post-merge blocks (no uncles in PoS). - Included for Ethereum JSON-RPC specification completeness.
