# MioDio Meridian Tx Simulate

> MioDio Meridian Tx Simulate is a paid API for AI agents from meridian.miodiollc.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-02).

Dry-runs an unsigned EVM transaction against live Base or Ethereum chain state, returning success/revert status, gas used, balance changes, approvals emitted, and risk warnings — without signing or moving funds.

## Facts

- Endpoint: POST https://meridian.miodiollc.com/v1/simulate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/miodio-meridian-tx-simulate-3c335e85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uZhVQE0SaCW_AWtlJVEbs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability miodio-meridian-tx-simulate-3c335e85 -d '<json body>'
```

Example prompt: Before I sign this transaction, can you dry-run it on Base using Meridian — here's the unsigned tx: from 0x4200...0006, to 0x0000...0001, value 1 ETH, no calldata — and tell me if it will succeed, how much gas it uses, and what balance changes I should expect?

## When to prefer this

Use this endpoint when an AI agent or user needs to validate an unsigned EVM transaction before signing — specifically to detect reverts, preview gas, inspect balance changes, and surface token approvals on Base or Ethereum. Prefer this over raw RPC eth_call when you need structured, decoded output with risk warnings and intent comparison rather than raw hex. Ideal as the last safety gate in any agentic DeFi workflow before committing a signature.

## Known failure modes

- 400 invalid_body — malformed or missing transaction fields in the request body
- 400 unsupported_chain — chain value not in ['base','ethereum']
- 402 payment required — x402 USDC micropayment (~$0.01) not provided or invalid
- Simulation may not reflect final on-chain outcome due to MEV, oracle updates, or state changes between simulation and submission
- Gas estimate may differ from actual inclusion gas due to block variability

## How this service works

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 required. MioDio x402 DeFi. Terms: https://meridian.miodiollc.com/terms

## Output

A JSON object containing: simulation result ('success' or revert), gas_used, decoded transaction details (kind, action, token, amount, recipient), balance_changes array showing asset deltas per address, approvals_emitted array, warnings list, revert_reason if applicable, intent_check if intent was provided, the simulated block number, and disclaimer/notes about point-in-time accuracy.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tx": {
   "type": "object",
   "description": "Exact unsigned transaction about to be signed: from, to, value, data, optional gas."
  },
  "chain": {
   "enum": [
    "base",
    "ethereum"
   ],
   "type": "string",
   "description": "Read chain for the dry run (default base). Independent of the USDC payment network."
  },
  "intent": {
   "type": "object",
   "description": "Optional declared intent (same object as POST /v1/drift) compared to the simulated outcome."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rpc": "public",
  "card": "transaction_simulate",
  "as_of": "2026-10-17T00:00:00.000Z",
  "chain": "base",
  "notes": [
   "A simulation is a point-in-time dry run against the latest chain state and is not a guarantee of inclusion, gas, or the eventual outcome."
  ],
  "result": "success",
  "status": "ok",
  "decoded": {
   "from": "0x4200000000000000000000000000000000000006",
   "kind": "native_transfer",
   "token": "native",
   "value": "1",
   "action": "transfer",
   "amount": "1",
   "target": "0x0000000000000000000000000000000000000001",
   "spender": null,
   "function": "native_transfer",
   "selector": null,
   "recipient": "0x0000000000000000000000000000000000000001",
   "unlimited": false
  },
  "product": "mio_dio_defi_risk_passport",
  "version": "0.8.0",
  "gas_used": "24000",
  "warnings": [],
  "disclaimer": "MioDio Meridian transaction simulation. Dry-run of the unsigned transaction you send against chain state at the simulated block. A simulation is a point-in-time dry run and not a guarantee of inclusion, gas, balances, or the eventual outcome (MEV, oracles, upgrades, or later state can differ). Meridian never signs transactions or moves funds. Not financial, legal, or security advice. Terms: https://meridian.miodiollc.com/terms",
  "intent_check": null,
  "revert_reason": null,
  "balance_changes": [
   {
    "asset": "native",
    "delta": "-1",
    "symbol": "ETH",
    "address": "0x4200000000000000000000000000000000000006",
    "decimals": 18
   },
   {
    "asset": "native",
    "delta": "1",
    "symbol": "ETH",
    "address": "0x0000000000000000000000000000000000000001",
    "decimals": 18
   }
  ],
  "approvals_emitted": [],
  "simulated_at_block": "52731955"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/miodio-meridian-tx-simulate-3c335e85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meridian.miodiollc.com](https://www.zero.xyz/host/meridian.miodiollc.com/llms.txt)
