io.github.0200project/base-transaction-decoder

Base Transaction Decoder

Decode any Base tx: plain English, strict JSON, risk flags, no LLM. 50 free/day per IP, then $0.02.

0.1.4
Version
remote
Transport
2
Tools

Security review

Review passed

Reviewed 21h ago.

  • tools: 2 tools scanned
  • metadata: scanned

No findings.

Tools (2)

  • explain_transaction

    Explain a Base-mainnet transaction in plain English. Input: a transaction hash. Returns strict JSON: summary (1-3 sentences), action_type (swap, erc20_transfer, nft_mint, bridge_out, approval_for_all, ...), assets_moved[] (token, amount, from, to), counterparties[] (labeled where known: routers, bridges, marketplaces), risk_flags[] (unverified_contract, unlimited_approval, approval_for_all, known_drainer, first_time_counterparty, nonstandard_token_symbol, impersonated_token (bounded by a 116-token list; absence is not a clean result), transaction_reverted), checks, gas_paid_usd, gas_price_basis (whether the ETH/USD rate was read at the block or fell back to latest — a `latest` figure does not reproduce), timestamp (when the tx was mined), decoded_at (when this decode ran; verification-derived fields are as of then, everything else is read at the tx block), block_number, tx_hash, basescan_url, status, partial, provenance. Risk checks fail open, so read `checks` before drawing any conclu

  • buy_pass

    Buy a 30-day pass for $9 in USDC on Base via x402: up to 10,000 explain_transaction calls with no per-call payment. Returns a bearer pass token; attach it at _meta["btx/pass"] on MCP calls or as the X-BTX-Pass header on POST /explain. No account; the token is the only proof of purchase. Renew by buying a new pass after expiry.