82trust / 100

Tx Explain

by APEX Transaction explainer in Onchain & crypto

x402 APIPassing, checked 3 h ago

Explain a transaction in plain English (Base, Arc): the function, every token moved, gas in USD. What did this transaction do? Pass ?chain=base|arc&tx=0x... and get one plain sentence plus the parts: who called which function (named from a table of common ones), every token and NFT that moved and between whom, native value, success or failure, and the gas paid in ETH and dollars on Base (ETH priced from the Uniswap v3 pool on chain) or in USDC on Arc, including native USDC that only appears as…

GET https://apexfaucet.xyz/api/x402/tx-explain

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
61 ms typical, 61 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://apexfaucet.xyz/api/x402/tx-explain?chain=base&tx=0x9a18b87c915e29108380d397a5c112f7ec77d432341c7821dd3b3a81ed1ceb09"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapexfaucet.xyz%2Fapi%2Fx402%2Ftx-explain
const res = await pay("https://apexfaucet.xyz/api/x402/tx-explain?chain=base&tx=0x9a18b87c915e29108380d397a5c112f7ec77d432341c7821dd3b3a81ed1ceb09");
console.log(await res.json());

Example input

{
  "chain": "base",
  "tx": "0x9a18b87c915e29108380d397a5c112f7ec77d432341c7821dd3b3a81ed1ceb09"
}

Example output

{
  "data": {
    "block": 51839877,
    "chain": "base",
    "explorer": "https://basescan.org/tx/0x9a18b87c915e29108380d397a5c112f7ec77d432341c7821dd3b3a81ed1ceb09",
    "found": true,
    "from": "0x68a96f41ff1e9f2e7b591a931a4ad224e7c07863",
    "hash": "0x9a18b87c915e29108380d397a5c112f7ec77d432341c7821dd3b3a81ed1ceb09",
    "method": "transferWithAuthorization",
    "ok": true,
    "status": "success",
    "time": "2026-09-27T00:31:41.000Z",
    "to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "toLabel": "USDC"
  },
  "ok": true,
  "paid": 0.003
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40261 ms$0.003