Pre-sign check
meridian.miodiollc.com/v1/drift
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. T
POST
https://meridian.miodiollc.com/v1/driftUptime100% of 3 checks 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://meridian.miodiollc.com/v1/drift", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"base","intent":{"action":"transfer","amount":"1000000","expected_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0x0000000000000000000000000000000000000001","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"tx":{"chainId":8453,"data":"0xa9059cbb000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000),
});
console.log(await res.json());Example input
{"chain":"base","intent":{"action":"transfer","amount":"1000000","expected_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0x0000000000000000000000000000000000000001","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"tx":{"chainId":8453,"data":"0xa9059cbb000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000