eth
eth_getUncleByBlockHashAndIndex
Returns uncle block data by block hash and uncle index position.
Returns uncle block data by block hash and uncle index position.
Parameters
| # | Type | Description |
|---|---|---|
| 1 | string | Block hash (32-byte hex). |
| 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_getUncleByBlockHashAndIndex",
"params": ["0x9ce9d9c533b1e3d23f5a67f999fd0848f23d3837c12ca0296f134bcfe2074008", "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.
