eth_getUncleByBlockHashAndIndex
Parameters
Returns
Example
Query
import { ethers } from 'ethers';
const provider =
new ethers
.providers
.JsonRpcProvider("https://www.noderpc.xyz/rpc-mainnet/public")
const info = async ()=> {
const result = await provider.send("eth_getUncleByBlockHashAndIndex", ["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b", "0x0"]);
console.log(result);
}
info();Result
nullLast updated