Skip to main content

Parameters

blockNumber
string
required
Block number (hex), or latest, earliest, pending
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_getUncleByBlockNumberAndIndex", "params": ["latest", "0x0"], "id": 1}'