Parameters
object— the simulation configuration objectquantity or tag— the block number in hex format or block tag (latest,earliest,pending,safe,finalized)
Response
object— the simulation result
object — the simulation configuration objectquantity or tag — the block number in hex format or block tag (latest, earliest, pending, safe, finalized)object — the simulation resulteth_simulateV1 code examplesconst { JsonRpcProvider } = require("ethers");
const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");
async function call() {
const result = await provider.send("eth_simulateV1", []);
console.log(result);
}
call();
Was this page helpful?