# MioDio Meridian Tx Drift

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

Diffs a declared intent against an unsigned transaction or EIP-712 payload to detect parameter drift before signing

## Facts

- Endpoint: POST https://meridian.miodiollc.com/v1/drift?utm_source=zero.xyz
- Price: $0.005/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-drift-64cdb915
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZLpE86FOCXZFw8naKyKpD

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-drift-64cdb915 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/miodio-meridian-tx-drift-64cdb915/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)
