Eth getUncleByBlockNumberAndIndex

Returns information about a uncle of a block by number and uncle index position.

Request body sample: {"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":1}

POSTeth_getUncleByBlockNumberAndIndex
Body
idinteger
jsonrpcstring
methodstring
paramsnullable array of any
Response

OK

Body
idinteger
jsonrpcstring
resultstring
Request
const response = await fetch('eth_getUncleByBlockNumberAndIndex', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "id": 0,
  "jsonrpc": "text",
  "result": "text"
}