{"uid":"cap_ZLpE86FOCXZFw8naKyKpD","slug":"miodio-meridian-tx-drift-64cdb915","name":"MioDio Meridian Tx Drift","description":"Pre-sign check: agents call Meridian before they sign. MioDio Meridian parameter-drift check: diffs a declared intent against the exact unsigned tx or EIP-712 payload (~$0.005 USDC Exact on Base). Verdict match, drift or cannot_verify. Unknown calldata is cannot_verify, never match. A match is not a guarantee. 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/drift?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tx":{"type":"object","description":"Exact unsigned transaction about to be signed: to, value, data, optional chainId/from."},"chain":{"enum":["base","ethereum"],"type":"string","description":"Target chain of the unsigned tx (default base). Independent of the USDC payment network."},"intent":{"type":"object","description":"Optional declared intent: action, recipient/spender, token, amount, max slippage, expected contract. When present, drift compares intent to the decoded payload (same verdicts as before). When omitted, the route only decodes and returns risk_flags."},"typed_data":{"type":"object","description":"Optional EIP-712 payload when that is what will be signed. Decoded types: Permit (EIP-2612 and DAI-style), PermitSingle, PermitBatch, PermitTransferFrom, CoW Order, Seaport OrderComponents. Unknown primaryType returns status ok with UNDECODED_CAUTION plus primaryType, domain, and verifyingContract. Decoder caps: request body ≤ 20480 characters; tx.data ≤ 8192 bytes; typed JSON depth ≤ 8, nodes ≤ 200, object keys ≤ 32, array length ≤ 16; type, field, and primaryType names ≤ 64 characters; array suffix depth ≤ 4; wei ≤ 2^256-1 (≤ 78 decimal digits); eip7702_authorization length ≤ 16."},"eip7702_authorization":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}}],"description":"Optional EIP-7702 authorization tuple { chainId, address, nonce } (not EIP-712), or an array of those tuples. chainId 0 is valid on all chains and is flagged. The delegate address is reported as unknown delegate until an allowlist is populated."}}},"responseSchema":{"type":"json","example":{"card":"parameter_drift","as_of":"2026-10-17T00:00:00.000Z","chain":"base","diffs":[{"field":"recipient","actual":"0x0000000000000000000000000000000000000002","intended":"0x0000000000000000000000000000000000000001","severity":"high"}],"flags":["recipient_differs"],"limits":[],"status":"ok","decoded":{"args":{"to":"0x0000000000000000000000000000000000000002","amount":"1000000"},"from":null,"kind":"erc20_transfer","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","value":"0","action":"transfer","amount":"1000000","target":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","min_out":null,"spender":null,"function":"transfer","selector":"0xa9059cbb","recipient":"0x0000000000000000000000000000000000000002","unlimited":false},"product":"mio_dio_defi_risk_passport","verdict":"drift","version":"0.8.0","bindings":{"alg":"keccak256","preimage":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","data":"0xa9059cbb000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000f4240","value":"0"},"intent_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","checked_keccak":"0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd","calldata_keccak":"0xabababababababababababababababababababababababababababababababab","typed_data_digest":null},"disclaimer":"MioDio Meridian parameter-drift check. Compares only the intent and unsigned transaction or EIP-712 payload you send. A match means every security-relevant decoded field was present in the intent and equal — not that the intent was authentic, complete, or safe, and not a recommendation to sign. Unknown calldata, a sparse intent, extra inner calls, or undeclared value is never match. Meridian never signs transactions or moves funds. Not financial, legal, or security advice. Terms: https://meridian.miodiollc.com/terms"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UiE23tKmfZEx7o1H2PbEN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Diffs a declared intent against an unsigned transaction or EIP-712 payload to detect parameter drift before signing","exampleAgentPrompt":"Before I sign this ERC-20 transfer transaction, check if the calldata actually matches my intent to send 1,000,000 USDC to 0x1234...abcd on Base — flag any recipient or amount drift.","exampleUseCases":[{"title":"Catch address-swap attack before signing","prompt":"I'm about to sign a USDC transfer on Base — the tx sends to 0x000...0002 but my intent was to pay 0x000...0001. Run a drift check and tell me if the recipient has been tampered with."},{"title":"Verify Permit2 payload matches swap intent","prompt":"I have an EIP-712 Permit2 payload that my wallet is asking me to sign for a Uniswap swap — can you diff it against my declared intent to swap 500 USDC for ETH with 1% max slippage and tell me if anything looks off?"},{"title":"Pre-sign sanity check for DeFi agent","prompt":"My agent is about to sign a contract interaction on Ethereum — please compare the unsigned tx calldata against my intent to approve 1000 DAI for the Aave v3 pool and return a match, drift, or cannot_verify verdict."}],"resultDescription":"A JSON object containing a verdict ('match', 'drift', or 'cannot_verify'), a list of diffs with field name, intended value, actual value, and severity, decoded calldata fields (function, recipient, amount, token, spender, etc.), cryptographic bindings (keccak256 hashes of calldata and intent), flags describing what deviated, and a disclaimer. The 'match' verdict means all security-relevant decoded fields matched the declared intent; 'drift' means at least one field differed; 'cannot_verify' means calldata could not be decoded.","failureModes":["400 invalid_body — malformed or missing required fields in the request body","400 unsupported_chain — chain value not in ['base', 'ethereum']","402 payment required — x402 USDC payment not included or insufficient","cannot_verify verdict — calldata is unrecognized and cannot be decoded, never returns match","Sparse intent with missing fields may result in cannot_verify even for known selectors","Unknown or non-standard EIP-712 structures may not be fully decoded"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify that an unsigned transaction or EIP-712 payload it is about to sign exactly matches a previously declared human intent — especially in DeFi workflows where address-swap attacks, amount manipulation, or token substitution are risks. Prefer this over generic tx simulation when the goal is intent-to-calldata comparison rather than outcome prediction. It is the right choice for pre-sign safety gates in autonomous agent pipelines on Base or Ethereum.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:51:14.823Z","isFirstParty":false,"canonicalSlug":"miodio-meridian-tx-drift-64cdb915"}