Crawler Summary

evm-tx-debugger answer-first brief

Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. --- name: evm-tx-debugger description: Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. license: MIT metadata: author: nicofains1 version: "1.0.0" --- EVM Transaction Debugger A systematic, efficient Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Freshness

Last checked 4/15/2026

Best For

evm-tx-debugger is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 94/100

evm-tx-debugger

Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. --- name: evm-tx-debugger description: Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. license: MIT metadata: author: nicofains1 version: "1.0.0" --- EVM Transaction Debugger A systematic, efficient

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Apr 15, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Apr 15, 2026

Vendor

Delegueinu

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Setup snapshot

git clone https://github.com/Delegueinu/evm-tx-debugger.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Delegueinu

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

cast receipt <TX_HASH> --rpc-url <RPC_URL>

bash

# One-liner
cast receipt <TX_HASH> --rpc-url <RPC_URL> --json | jq '{status, gasUsed, gasLimit: .gas}'

bash

cast tx <TX_HASH> --rpc-url <RPC_URL>

bash

cast tx <TX_HASH> --rpc-url <RPC_URL> --json | jq '{from, to, value, blockNumber, input: .input[0:10]}'

bash

cast 4byte <SELECTOR>

bash

curl -s "https://<NETWORK>.blockscout.com/api/v2/transactions/<TX_HASH>" | \

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. --- name: evm-tx-debugger description: Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. license: MIT metadata: author: nicofains1 version: "1.0.0" --- EVM Transaction Debugger A systematic, efficient

Full README

name: evm-tx-debugger description: Debug failed EVM transactions efficiently using Foundry's cast CLI. Use this skill when analyzing why a blockchain transaction reverted, failed, or produced unexpected results. Covers swaps, NFT mints, bridges, lending protocols, Permit2, and more across 12+ networks. license: MIT metadata: author: nicofains1 version: "1.0.0"

EVM Transaction Debugger

A systematic, efficient approach to diagnose why EVM transactions fail. Uses Foundry's cast CLI and block explorer APIs to identify root causes in seconds, not minutes.

When to Apply

Use this skill when:

  • A user reports a failed/reverted transaction
  • Investigating why a swap, mint, bridge, or DeFi transaction failed
  • Debugging Permit2 signature issues
  • Analyzing slippage, deadline, or allowance problems
  • Any on-chain transaction that didn't behave as expected

Golden Rules

  1. NEVER use cast run - It simulates the entire transaction and takes minutes. Use targeted commands instead.
  2. Always simulate at block N-1 - Use --block <blockNumber - 1> to reproduce the exact state.
  3. Check the obvious first - 80% of failures are: insufficient balance, slippage, expired deadline, or revoked approval.
  4. No state changes = early revert - If no token transfers occurred, the tx failed in validation.
  5. Gas used == Gas limit = out of gas - If these are equal, the transaction ran out of gas.

Quick Reference

| Step | Command | Purpose | |------|---------|---------| | 1 | cast receipt <hash> | Confirm failure, check gas | | 2 | cast tx <hash> | Get tx params | | 3 | cast 4byte <selector> | Decode function name | | 4 | Blockscout API | Decoded params, state changes | | 5 | cast call --block N-1 | Reproduce error | | 6 | Context checks | Validate prices, nonces, balances |

Total time: 10-30 seconds (vs 2-5 minutes with cast run)


Step-by-Step Process

Step 1: Confirm Failure and Check Gas

cast receipt <TX_HASH> --rpc-url <RPC_URL>

Key fields:

| Field | What to Look For | |-------|------------------| | status | 0 = failed, 1 = success | | gasUsed | If equal to gasLimit → out of gas | | logs | Empty [] = failed before emitting events |

# One-liner
cast receipt <TX_HASH> --rpc-url <RPC_URL> --json | jq '{status, gasUsed, gasLimit: .gas}'

Step 2: Get Transaction Data

cast tx <TX_HASH> --rpc-url <RPC_URL>

Key fields: from, to, input (first 4 bytes = selector), value, blockNumber

cast tx <TX_HASH> --rpc-url <RPC_URL> --json | jq '{from, to, value, blockNumber, input: .input[0:10]}'

Step 3: Decode the Function

cast 4byte <SELECTOR>

Common selectors:

| Selector | Function | Protocol | |----------|----------|----------| | 0x3593564c | execute | Uniswap Universal Router | | 0x5ae401dc | multicall | Uniswap V3 | | 0x12aa3caf | swap | 1inch v5 | | 0x095ea7b3 | approve | ERC20 | | 0x23b872dd | transferFrom | ERC20/ERC721 |

Complex calldata? If the function is execute, multicall, or similar batch operations, see the ABI Decoder section below.

Step 4: Get Decoded Parameters

# Get decoded transaction details
curl -s "https://<NETWORK>.blockscout.com/api/v2/transactions/<TX_HASH>" | \
  jq '{status, result, revert_reason, method: .decoded_input.method_call, params: .decoded_input.parameters}'

# Check state changes
curl -s "https://<NETWORK>.blockscout.com/api/v2/transactions/<TX_HASH>/state-changes" | \
  jq '.items[] | {address: .address.hash, type, change, token: .token.symbol}'

If only gas was spent (no token transfers): Transaction failed in validation phase.

Step 5: Reproduce the Error

cast call <TO_ADDRESS> \
  --data "<FULL_INPUT_DATA>" \
  --from <FROM_ADDRESS> \
  --value <VALUE> \
  --block $((BLOCK_NUMBER - 1)) \
  --rpc-url <RPC_URL> 2>&1

Step 6: Context-Specific Validation

Token Balance:

cast call <TOKEN> "balanceOf(address)(uint256)" <USER> --block $((BLOCK - 1)) --rpc-url <RPC>

Allowance:

cast call <TOKEN> "allowance(address,address)(uint256)" <OWNER> <SPENDER> --block $((BLOCK - 1)) --rpc-url <RPC>

ETH Balance:

cast balance <ADDRESS> --block $((BLOCK - 1)) --rpc-url <RPC>

Common Failure Patterns

1. Insufficient Slippage (Swaps)

Symptoms: Swap reverts, no token transfers, error mentions "slippage" or "min amount"

Diagnosis:

# Compare minAmountOut with actual market quote using Uniswap V3 Quoter
cast call <QUOTER> \
  "quoteExactInputSingle((address,address,uint256,uint24,uint160))(uint256,uint160,uint32,uint256)" \
  "(<TOKEN_IN>,<TOKEN_OUT>,<AMOUNT_IN>,<FEE>,0)" \
  --block $((BLOCK - 1)) --rpc-url <RPC>

Root cause: Market moved. The minAmountOut was higher than what the market could provide.

2. Expired Deadline

Symptoms: Transaction mined but reverts, error mentions "deadline"

Diagnosis:

cast block <BLOCK> --rpc-url <RPC> --json | jq '.timestamp'
# Compare with deadline parameter: deadline > timestamp = OK

3. Insufficient Balance

Diagnosis:

cast call <TOKEN> "balanceOf(address)(uint256)" <USER> --block $((BLOCK - 1)) --rpc-url <RPC>

4. Insufficient Allowance

Diagnosis:

cast call <TOKEN> "allowance(address,address)(uint256)" <OWNER> <SPENDER> --block $((BLOCK - 1)) --rpc-url <RPC>

5. Permit2 Nonce Already Used

Diagnosis:

PERMIT2="0x000000000022D473030F116dDEE9F6B43aC78BA3"
WORD_POS=$((NONCE >> 8))
cast call $PERMIT2 "nonceBitmap(address,uint256)(uint256)" <USER> $WORD_POS --block $((BLOCK - 1)) --rpc-url <RPC>
# Result of 0 = nonce NOT used

6. Out of Gas

Diagnosis:

cast receipt <TX> --rpc-url <RPC> --json | jq 'if .gasUsed == .gas then "OUT OF GAS" else "Gas OK" end'

7. Contract Paused

Diagnosis:

cast call <CONTRACT> "paused()(bool)" --block $((BLOCK - 1)) --rpc-url <RPC>

ABI Decoder

For complex calldata (multicalls, aggregator routes, batch operations), decode nested calls:

Uniswap Universal Router

# Commands byte mapping:
# 0x00 = V3_SWAP_EXACT_IN, 0x01 = V3_SWAP_EXACT_OUT
# 0x08 = V2_SWAP_EXACT_IN, 0x0b = WRAP_ETH, 0x0c = UNWRAP_ETH

cast pretty-calldata <CALLDATA>
cast calldata-decode "execute(bytes,bytes[],uint256)" <CALLDATA>

Multicall

cast calldata-decode "multicall(uint256,bytes[])" <CALLDATA>
# Then decode each bytes element

1inch / Paraswap

cast calldata-decode "swap(address,(address,address,address,address,uint256,uint256,uint256),bytes,bytes)" <CALLDATA>

Permit2 Batch

cast calldata-decode "permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256)[],address,bytes)" <CALLDATA>

Decode Custom Errors

ERROR_DATA="0x..."
SELECTOR="${ERROR_DATA:0:10}"
cast 4byte $SELECTOR
cast 4byte-decode $SELECTOR "${ERROR_DATA:10}"

Network Reference

Blockscout Domains

| Network | Domain | |---------|--------| | Ethereum | eth.blockscout.com | | Base | base.blockscout.com | | Optimism | optimism.blockscout.com | | Arbitrum | arbitrum.blockscout.com | | Polygon | polygon.blockscout.com | | Gnosis | gnosis.blockscout.com | | Scroll | scroll.blockscout.com | | zkSync Era | zksync.blockscout.com | | Linea | linea.blockscout.com | | Blast | blast.blockscout.com |

Public RPCs

| Network | RPC URL | Chain ID | |---------|---------|----------| | Ethereum | https://eth.llamarpc.com | 1 | | Base | https://mainnet.base.org | 8453 | | Optimism | https://mainnet.optimism.io | 10 | | Arbitrum | https://arb1.arbitrum.io/rpc | 42161 | | Polygon | https://polygon-rpc.com | 137 | | BSC | https://bsc-dataseed.binance.org | 56 | | Avalanche | https://api.avax.network/ext/bc/C/rpc | 43114 |

Key Contract Addresses

Permit2 (all chains): 0x000000000022D473030F116dDEE9F6B43aC78BA3

Uniswap V3 Quoter:

  • Ethereum/Optimism/Arbitrum/Polygon: 0x61fFE014bA17989E743c5F6cB21bF9697530B21e
  • Base: 0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a

Output Template

## Transaction Debug Summary

**TX Hash:** `0x...`
**Network:** [Network]
**Block:** [block number]
**Status:** FAILED

### Transaction Details
- **From:** `0x...`
- **To:** `0x...` ([Contract Name])
- **Function:** `functionName(params)`
- **Value:** [X ETH]

### Root Cause
[One clear sentence explaining why the transaction failed]

### Evidence
1. [Specific data point with values]
2. [Comparison showing the mismatch]

### Recommendation
[How to avoid this failure in the future]

### Commands Used
```bash
[List exact commands for reproducibility]

---

## Installation

```bash
# Install Foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup

# Install jq
brew install jq  # macOS
sudo apt install jq  # Ubuntu

License

MIT - Use freely, attribution appreciated.

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/snapshot"
curl -s "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/contract"
curl -s "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 5d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-16T23:35:23.105Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Delegueinu",
    "href": "https://github.com/Delegueinu/evm-tx-debugger",
    "sourceUrl": "https://github.com/Delegueinu/evm-tx-debugger",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T03:12:22.277Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T03:12:22.277Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/delegueinu-evm-tx-debugger/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to evm-tx-debugger and adjacent AI workflows.