Onchain Verify Transaction for Openclaw

A pre-execution safety gate that simulates EVM transactions via Tenderly to verify asset changes before they happen.

dougalcantara
v0.1.3
Mar 18, 2026
0
824
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install onchain-verify-transaction

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install onchain-verify-transaction using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Onchain Verify Transaction?

Onchain Verify Transaction is a specialized security tool within the Openclaw Skills ecosystem designed to eliminate the risks of blind-signing. By simulating transaction payloads against forked chain states using Tenderly, it provides a transparent view of exactly which tokens will move, in what amounts, and to which addresses before a user ever interacts with their wallet.

This skill serves as a critical infrastructure layer for other AI agent workflows. It decodes opaque calldata from swap routers or external APIs, transforming raw hex strings into human-readable balance and asset changes. By implementing this as a mandatory pre-execution check, developers can ensure that their Openclaw Skills never execute a transaction that results in an unexpected drain or incorrect token destination.

Onchain Verify Transaction Use Cases

  • Validating raw calldata produced by external swap aggregators or untrusted APIs.
  • Detecting potential wallet drains or malicious approval requests before signing.
  • Verifying that cross-chain swap outputs are landing in the correct recipient wallet.
  • Checking for slippage or price impact by comparing simulated output amounts against quoted rates.

How Onchain Verify Transaction Works

  1. The skill receives a transaction payload containing the sender, recipient, calldata, and chain ID.
  2. It identifies the correct Tenderly gateway endpoint based on the provided network (e.g., Base, Ethereum, Optimism).
  3. A simulation request is sent to the Tenderly API using the tenderly_simulateTransaction method.
  4. The skill parses the assetChanges and balanceChanges from the simulation results.
  5. It runs a series of security checks to verify token identity, destination, and amounts.
  6. Control is returned to the calling agent with either a green light or a detailed warning of detected discrepancies.

Onchain Verify Transaction Setup

To integrate this safety gate into your Openclaw Skills environment, you must configure your Tenderly credentials:

# Obtain your key from tenderly.co
export TENDERLY_NODE_ACCESS_KEY="your-key-here"

Ensure that the environment variable is accessible to your AI agent at runtime.

Onchain Verify Transaction Data Schema & Taxonomy

The skill processes transaction objects and maps them to simulation results using the following schema:

Input Field Type Description
from address The originating wallet address
to address The contract or recipient address
data hex string The encoded calldata to be simulated
chainId integer The network ID (e.g., 1 for Ethereum, 8453 for Base)

Validation Output

  • Asset Changes: Tracks ERC-20 transfers (Address, From, To, Amount).
  • Balance Changes: Tracks native gas token (ETH) fluctuations per address.

Onchain Verify Transaction Advanced Features

  • Multi-chain support for major EVM networks including Arbitrum, Polygon, and Optimism.
  • Automated input drain detection to prevent unauthorized token spending.
  • Deep calldata inspection to flag unexpected or unlimited token approvals.
  • Fail-safe logic that halts execution and requires manual user intervention if simulation fails or discrepancies are found.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*