← Back to directory

Use when an agent must tell a user what a transaction did. Input: tx (Base hash ...

https://1gateway.dev/v1/onchain/tx/explain

Overview

Use when an agent must tell a user what a transaction did. Input: tx (Base hash or Solana signature), network=eip155:8453|solana (optional, inferred). Output: explanation (1-3 sentences; every number checked against the decoded facts, template fallback), facts: status, time, fee, from/to, called function (curated selector table), ERC-20 transfers, approvals, inferred swap (sent/received), Solana programs. Example: ?tx=0x…&network=eip155:8453

Protocol x402
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider Transaction Explainer
Source bazaar
Indexed 2026-10-31 11:36:12

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "network": "eip155:8453", "tx": "0xffbdcb7953401111c60d780212c77c6e01f82295cda8670a9e63a2574a01be32" }, "type": "http" }

Output Schema

{ "example": { "cached": false, "explanation": "0xa923…8fDF swapped 800 AERO for 499.20543 USDC on Base at 2026-10-31 08:26 UTC, paying 0.000001571181942317 ETH in fees.", "explanationSource": "template", "facts": { "approvals": [], "explorer": "https://basescan.org/tx/0x046fe74081b866825fe49a0d9c317110569cd69fbd23d2a042264047e416bf68", "fee": "0.000001571181942317 ETH", "final": true, "from": "0xa9231B80411c0E18D27EDEe7786692aCd2138fDF", "method": { "name": "swapExactTokensForTokens (Aerodrome router)", "selector": "0xcac88ea9" }, "network": "base", "status": "success", "swap": { "received": [ { "amount": "499.20543", "symbol": "USDC", "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" } ], "sent": [ { "amount": "800", "symbol": "AERO", "token": "0x940181a94A35A4569E4529A3CDfB74e38FD98631" } ] }, "time": "2026-10-31T08:26:37.000Z", "to": "0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43", "transfers": [ { "amount": 800, "from": "0xa9231B80411c0E18D27EDEe7786692aCd2138fDF", "symbol": "AERO", "to": "0x6cDcb1C4A4D1C3C6d054b27AC5B77e89eAFb971d", "token": "0x940181a94A35A4569E4529A3CDfB74e38FD98631" } ], "tx": "0x046fe74081b866825fe49a0d9c317110569cd69fbd23d2a042264047e416bf68", "valueNative": null }, "model": "none (template)", "network": "eip155:8453", "note": "Facts are decoded from the chain; function names come from a curated selector table (unknown selectors stay null). Amounts use each token's self-reported decim…", "tx": "0x046fe74081b866825fe49a0d9c317110569cd69fbd23d2a042264047e416bf68", "upstreamCostUsd": 0 }, "type": "json" }