Skip to content
Fourohtwo

agentforge-taupe.vercel.app/v1/tx-simulate

Transaction simulation before signing (pre-sign safety check and drainer detection): simulate an EVM transaction or an approve-then-swap sequence of up to 5 — revert check with reason, every asset leaving or entering the wallet, approvals granted, sanctions/scam screening of every counterparty, and a proceed/caution/avoid verdict. Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Linea, Unic

BaseAnswering
POSThttps://agentforge-taupe.vercel.app/v1/tx-simulate

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agentforge-taupe.vercel.app/v1/tx-simulate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","from":"0x8ec901f7e2710163387d70950f680f1ea2269d15","transactions":[{"data":"0xa9059cbb000000000000000000000000abababababababababababababababababababab00000000000000000000000000000000000000000000000000000000000f4240","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "from": "0x8ec901f7e2710163387d70950f680f1ea2269d15",
  "transactions": [
    {
      "data": "0xa9059cbb000000000000000000000000abababababababababababababababababababab00000000000000000000000000000000000000000000000000000000000f4240",
      "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    }
  ]
}