Skip to content
Fourohtwo

MioDio Meridian transaction simulation

workers.miodiollc.com/v1/simulate

MioDio Meridian transaction simulation: dry-run of an unsigned tx against latest Base/Ethereum state (~$0.01 USDC Exact on Base). Returns success or revert, gas, native/ERC-20 balance changes, approvals, decoded call and warnings. A simulation is a point-in-time dry run, not a guarantee. Meridian never signs or moves funds. Errors: 400 invalid_body or unsupported_chain, 402 payment required, faile

BaseAnswering
POSThttps://workers.miodiollc.com/v1/simulate

Uptime100% of 5 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://workers.miodiollc.com/v1/simulate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","tx":{"data":"0x","from":"0x4200000000000000000000000000000000000006","to":"0x0000000000000000000000000000000000000001","value":"0x1"}}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "tx": {
    "data": "0x",
    "from": "0x4200000000000000000000000000000000000006",
    "to": "0x0000000000000000000000000000000000000001",
    "value": "0x1"
  }
}

More from MioDio Meridian Tx SimulateProvider status