Skip to content
Fourohtwo

Pre-sign check

meridian.miodiollc.com/v1/simulate

Pre-sign check: agents call Meridian before they sign. 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, balances, approvals and warnings. A simulation is a point-in-time dry run, not a guarantee. Never signs or moves funds. Errors: 400 invalid_body or unsupported_chain, 402 payment requ

BaseAnswering
POSThttps://meridian.miodiollc.com/v1/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://meridian.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 Simulate