Skip to content
Fourohtwo

Why did my transaction fail

pitcrew-api.appin60.com/tx/explain

Why did my transaction fail? Give a chain and tx hash; get status, decoded method, gas used vs limit, fee, token transfers, events and, for failed transactions, the decoded revert reason (Error(string), Panic codes, custom errors resolved by signature) with a plain-language fix. Pending transactions get a stuck-transaction diagnosis (nonce gap, underpriced fee) and the replace/cancel recipe. Chain

BaseArbitrumAnswering
GEThttps://pitcrew-api.appin60.com/tx/explain

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://pitcrew-api.appin60.com/tx/explain?chain=base&hash=0x19149f9b44efbe36f2180fda8389d811ff2de968f3391190f7544e0a55ccf8f9");
console.log(await res.json());

Example input

{
  "chain": "base",
  "hash": "0x19149f9b44efbe36f2180fda8389d811ff2de968f3391190f7544e0a55ccf8f9"
}