Crypto Microdata for Agents
Pre-sign transaction simulation on Base: run the tx against live state before you sign or broadcast. from=0x..&to=0x..&data=0x..[&value_eth=0.01] or calls=[{to,data,value}] (JSON, up to 5, run in order, e.g. approve then swap). Returns success, decoded revert reason, gas used + fee in ETH/USD, every token and ETH transfer (symbol, decimals applied), net balance_changes per address (and for the sen
- Price per call
- $0.003
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://kr-x402-mvp.kgy5612.workers.dev/crypto/tx-simulate", { method: "GET" });
console.log(await res.json());https://kr-x402-mvp.kgy5612.workers.dev/crypto/tx-simulate