Skip to content
Fourohtwo

Simulates an EVM transaction execution without broadcasting

api.sitecheck-api.workers.dev/api/evm/simulate

Simulates an EVM transaction execution without broadcasting: { chain, from, to, data, value }. Returns eth_call output, gas estimate, success/revert status with decoded revert reason (Error(string), Panic(uint256)), and token balance if to is an ERC-20. State overrides not supported by public RPCs. Information only, not financial advice.

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
POSThttps://api.sitecheck-api.workers.dev/api/evm/simulate

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.sitecheck-api.workers.dev/api/evm/simulate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"ethereum","data":"0x70a082310000000000000000000000000000000000000000000000000000000000000000","from":"0x0000000000000000000000000000000000000000","to":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}),
});
console.log(await res.json());

Example input

{
  "chain": "ethereum",
  "data": "0x70a082310000000000000000000000000000000000000000000000000000000000000000",
  "from": "0x0000000000000000000000000000000000000000",
  "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}

More from SiteCheckProvider status