Otto AI · TX Explainer

by Otto AI

POSTBaseSolana

$0.01

per call · USD Coin on Base

Decode and explain any EVM blockchain transaction across 11 chains (Base, Ethereum, Arbitrum, Optimism, Avalanche, Polygon, Mantle, Monad, Plasma, BSC, Hyperliquid). Get a human-readable summary of swaps, transfers, approvals, DeFi interactions, and more.

Endpoint

POST https://x402.ottoai.services/tx-explainer

5

Calls / 30d

3

Unique payers / 30d

Sep 3

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.ottoai.services/tx-explainer", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chain": "base",
    "outputLevel": "summary",
    "txHash": "0x91985d4134da826cd05ee7e629b68f0d3ebbbe14198c7d98a4f9e50c1ff46041"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.ottoai.services/tx-explainer" \
  -H "Content-Type: application/json" \
  -d '{"chain":"base","outputLevel":"summary","txHash":"0x91985d4134da826cd05ee7e629b68f0d3ebbbe14198c7d98a4f9e50c1ff46041"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chain": "Base",
  "explorerUrl": "https://basescan.org/tx/0x...",
  "status": "success",
  "summary": "Swapped 0.5 ETH for 1,247.83 USDC via Uniswap V3",
  "txHash": "0x..."
}

Payment details

Pay to0x0e84ddedaae6a779c462c22a59f301ec31b6b808
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Otto AI & similar services