81trust / 100

Skill Tx Forensics

by Skill: Transaction forensics in Onchain & crypto

x402 APIPassing, checked 4 h ago

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. Transaction forensics skill pack: one x402 payment runs 5 underlying tools (tx-status, evm-rpc, calldata-decode, selector-lookup, address-label); partial-success per step.

POST https://agent402.tools/api/skill/tx-forensics

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/skill/tx-forensics" \
  -H "content-type: application/json" \
  -d '{"hash":"0x1c0592f73d1f9182ee9bd40eb34d9b6c70b3196814b111589b82df4e79e7fb59","network":"base"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fskill%2Ftx-forensics
const res = await pay("https://agent402.tools/api/skill/tx-forensics", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"hash":"0x1c0592f73d1f9182ee9bd40eb34d9b6c70b3196814b111589b82df4e79e7fb59","network":"base"}),
});
console.log(await res.json());

Example input

{
  "hash": "0x1c0592f73d1f9182ee9bd40eb34d9b6c70b3196814b111589b82df4e79e7fb59",
  "network": "base"
}

Example output

{
  "args": {
    "hash": "0x1c0592f73d1f9182ee9bd40eb34d9b6c70b3196814b111589b82df4e79e7fb59",
    "network": "base"
  },
  "pack": "tx-forensics",
  "steps": [
    {
      "ok": true,
      "result": {},
      "slug": "tx-status"
    },
    {
      "ok": true,
      "result": {},
      "slug": "evm-rpc"
    },
    {
      "ok": true,
      "result": {},
      "slug": "calldata-decode"
    },
    {
      "ok": true,
      "result": {},
      "slug": "selector-lookup"
    },
    {
      "ok": true,
      "result": {},
      "slug": "address-label"
    }
  ],
  "summary": "5/5 steps succeeded"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402235 ms$0.011