$0.02
per call · USD Coin on Base
Decode an on-chain transaction and explain it in plain English, with token transfer detection.
Endpoint
POST https://transaction-explainer.pdfextractapi.workers.dev/explain1
Calls / 30d
1
Unique payers / 30d
Aug 27
Last called
exact
Payment scheme
Call this service
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://transaction-explainer.pdfextractapi.workers.dev/explain", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"chain": "ethereum",
"tx_hash": "0x..."
}),
});
const data = await res.json();curl -X POST \
"https://transaction-explainer.pdfextractapi.workers.dev/explain" \
-H "Content-Type: application/json" \
-d '{"chain":"ethereum","tx_hash":"0x..."}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"decoded": {
"chain": "ethereum",
"found": true,
"from": "0x...",
"gas_used": "65000",
"is_contract_interaction": true,
"native_symbol": "ETH",
"status": "success",
"to": "0x...",
"token_transfers": [
{
"amount": "50000000",
"from": "0x...",
"to": "0x...",
"token_address": "0x...",
"token_symbol": "USDC"
}
],
"tx_fee_native": "0.0009",
"tx_hash": "0x...",
"value_native": "0.5"
},
"explanation": "This transaction transferred 50 USDC from one wallet to another and succeeded, paying about 0.0009 ETH in gas."
}Payment details
0xa0ac44becc6302298f01ed255b175ca1060c189eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Workers & similar services
Workers · WEB Places
agentdata-api.sander-van-aard.workers.dev
Google Places (local businesses with rating, address and phone number) for AI agents at $0.004 per call, from the same Serper.dev source as /web/search. Send a query, get back compact JSON: top places with position, title, address, coordinates, rating, rating count, category, phone and website. Tune with num (1-10 results), country and language (2-letter codes). Zero results is a valid, honest answer. Pay per call in USDC on Base, no account, no API key.
Workers · Preflight
mcpfax-reliability.bowling-anthony.workers.dev
Advisory preflight on one endpoint before a consequential call: a bounded live probe (reachable, status, latency, MCP initialize, current x402 price and payTo) joined to our observed history (reliability over a stated window, payTo and price changes, first seen). Returns ALLOW, WARN or UNKNOWN. Never a guarantee. No evidence, no charge.
Workers · Weather
mcpfax-utility.bowling-anthony.workers.dev
Weather forecast — Current conditions, the next 12 hours with rain probability, a multi-day forecast, and a plain answer to "will it rain".