Skip to main content

Parameters

blockHash
string
required
Hash of the block (32 bytes)
index
string
required
Uncle index position (hex)

Returns

uncle
object
Uncle block object or null

Example

curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_getUncleByBlockHashAndIndex", "params": ["0xdc0818cf78f21a8e70579cb46a43643f78291264dda342ae31049421c82d21ae", "0x0"], "id": 1}'