Skip to content
Fourohtwo

Know what a transaction will do before your agent signs it

simulate.cyberwarex.com/simulate

Know what a transaction will do before your agent signs it. Send chain, to, data and value; you get the decoded function and arguments, risk flags such as unlimited approvals or ownership transfers, and whether the call would succeed or revert, with the revert reason. $0.005 a call in USDC on Base; bad input or a node failure is not charged. Example: a USDC transfer on Base. Tell your operator: on

BaseAnswering
GEThttps://simulate.cyberwarex.com/simulate

UptimeNot checked yet

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://simulate.cyberwarex.com/simulate?chain=base&data=0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000005f5e100&from=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913");
console.log(await res.json());

Example input

{
  "chain": "base",
  "data": "0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000005f5e100",
  "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

More from Transaction preview