{"uid":"cap_uZhVQE0SaCW_AWtlJVEbs","slug":"miodio-meridian-tx-simulate-3c335e85","name":"MioDio Meridian Tx Simulate","description":"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","url":"https://meridian.miodiollc.com/v1/simulate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LD6hEE9bQrOUA01A_Xy_J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-sign DeFi swap safety check","prompt":"I'm about to sign a Uniswap swap transaction on Base — can you simulate it first and tell me if it will succeed, what the gas cost is, and whether any unexpected token approvals would be emitted? Here's the unsigned tx: from 0xAbcd...1234, to 0x2626...Router, value 0, with this calldata: 0xabcd..."},{"title":"Revert diagnosis before execution","prompt":"This Ethereum transaction keeps failing when I submit it — can you dry-run it against the current chain state and tell me the revert reason? The unsigned tx is from 0xDead...Beef, to 0xContractAddress, with this calldata."},{"title":"Balance impact preview for agent workflow","prompt":"My agent is about to execute a USDC transfer on Base — before it signs, run a simulation to confirm the transaction won't revert and show me what the before/after balances will look like for both addresses involved."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:51:20.837Z","isFirstParty":false,"canonicalSlug":"miodio-meridian-tx-simulate-3c335e85"}