81trust / 100
Tx Explainer
by Otto AI in Onchain & crypto
x402 APIPassing, checked 4 h ago
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.
POST https://x402.ottoai.services/tx-explainer
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 68 ms typical, 68 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.ottoai.services/tx-explainer" \
-H "content-type: application/json" \
-d '{"chain":"base","outputLevel":"summary","txHash":"0x91985d4134da826cd05ee7e629b68f0d3ebbbe14198c7d98a4f9e50c1ff46041"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Ftx-explainer
const res = await pay("https://x402.ottoai.services/tx-explainer", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"base","outputLevel":"summary","txHash":"0x91985d4134da826cd05ee7e629b68f0d3ebbbe14198c7d98a4f9e50c1ff46041"}),
});
console.log(await res.json());Example input
{
"chain": "base",
"outputLevel": "summary",
"txHash": "0x91985d4134da826cd05ee7e629b68f0d3ebbbe14198c7d98a4f9e50c1ff46041"
}Example output
{
"chain": "Base",
"details": {
"gasCostNative": "0.00000152 ETH",
"gasCostUsd": null,
"gasUsed": "152340",
"value": "0.5000 ETH"
},
"explorerUrl": "https://basescan.org/tx/0x...",
"status": "success",
"summary": "Swapped 0.5 ETH for 1,247.83 USDC via Uniswap V3",
"txHash": "0x..."
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 68 ms | $0.01 |