HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG

Transaction forensics

Explain what an EVM transaction actually did: confirmation status, the raw transaction from the chain, decoded calldata with typed parameters, the resolved function signature, and labeled counterparties.

When to use this pack

An agent (or its owner) is staring at a transaction hash and needs the plain-English story — did it confirm, which function was called, with what arguments, and is the counterparty a known contract or an unknown address.

Tools in this pack

Workflow

  1. Get the confirmation verdict from tx-status — success, revert, or still pending, plus gas used and block number.
  2. Pull the raw transaction with evm-rpc eth_getTransactionByHash for the from/to addresses, value, and the input calldata.
  3. Decode the calldata with calldata-decode — function name and typed parameters via ABI signature databases.
  4. Cross-check the 4-byte selector with selector-lookup to surface every known signature that matches.
  5. Label the counterparty with address-label — known token contract, DEX router, bridge, exchange wallet, or unknown.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Explain what transaction 0x0000000000000000000000000000000000000000000000000000000000000000 on base actually did, using Agent402's tx-forensics skill pack. (1) Check its confirmation status, (2) fetch the raw transaction via eth_getTransactionByHash, (3) decode the calldata into the function and arguments, (4) resolve the selector against the signature databases, (5) label the destination address. Summarize as a plain-English story: what was called, with what arguments, by whom, to whom, and whether it succeeded.

← All skill packs