Install
openclaw skills install web3-opsPerform EVM Web3 on-chain operations such as checking addresses, scanning portfolios, transferring assets, swapping/bridging tokens, and minting NFTs.
openclaw skills install web3-opsThis skill allows the OpenClaw AI agent to interface with EVM blockchains (Ethereum, Arbitrum, Base, Optimism, Polygon, BNB Chain, Sonic, Sepolia, etc.) using a local Node.js CLI utility under a strict Human-in-the-Loop safety model.
These flags can be appended to any command:
--json: Silences human logs and outputs strictly JSON to stdout (highly recommended for AI agent parsing).--rpc <url>: Overrides default node RPC with a custom RPC endpoint (useful for testnets or private nodes).--simulate: Simulates the transaction (dry run) using gas estimation and call simulation. Prevents sending failing transactions and calculates gas fees.All commands are run using Node.js inside the skill directory:
node skills/web3-ops/index.js <command> [arguments]
Get your configured wallet address.
node skills/web3-ops/index.js address [--json]Check native coin (ETH, MATIC, BNB, S) or a specific ERC-20 token balance using symbol or contract address.
node skills/web3-ops/index.js balance --chain <chain> [--json]node skills/web3-ops/index.js balance --chain <chain> --token <symbol_or_address> [--json]node skills/web3-ops/index.js balance --chain base --token AEROScan and list all tokens with a positive balance in your wallet. If no chain is specified, it will scan all supported networks in parallel. Automatically detects "degen/micin" tokens using block explorer transaction history.
node skills/web3-ops/index.js portfolio [--json]node skills/web3-ops/index.js portfolio --chain <chain> [--json]Send native coins or ERC-20 tokens to another address.
node skills/web3-ops/index.js transfer --chain <chain> --to <recipient_address> --amount <amount> [--json] [--simulate]node skills/web3-ops/index.js transfer --chain <chain> --to <recipient_address> --amount <amount> --token <symbol_or_address> [--json] [--simulate]Swap tokens on the same blockchain network. Supports auto-routing and manual routers.
node skills/web3-ops/index.js swap --chain <chain> --fromToken <symbol_or_address> --toToken <symbol_or_address> --amount <amount> --mode auto [--json] [--simulate]node skills/web3-ops/index.js swap --chain <chain> --fromToken <symbol_or_address> --toToken <symbol_or_address> --amount <amount> --mode manual --provider <lifi|relay|uniswap|pancakeswap> [--json] [--simulate]--slippage <percent> (default is 0.5)Bridge and swap assets from one blockchain to another.
node skills/web3-ops/index.js bridge --fromChain <source_chain> --toChain <target_chain> --fromToken <symbol_or_address> --toToken <symbol_or_address> --amount <amount> --mode auto [--json] [--simulate]node skills/web3-ops/index.js bridge --fromChain <source_chain> --toChain <target_chain> --fromToken <symbol_or_address> --toToken <symbol_or_address> --amount <amount> --mode manual --provider <lifi|relay> [--json] [--simulate]Mint or claim NFTs on a smart contract.
node skills/web3-ops/index.js mint --chain <chain> --contract <nft_contract_address_or_url> [--function <signature>] [--args <json_array_arguments>] [--value <native_fee_to_send>] [--json] [--simulate]--function, --args, and --value are optional. If omitted, the skill will fetch the verified contract ABI from the explorer, auto-detect the mint function (e.g., mint, claim), and infer the arguments automatically.node skills/web3-ops/index.js mint --chain base --contract 0x123...Broadcast a custom raw transaction with hex data payload.
node skills/web3-ops/index.js custom --chain <chain> --to <target_address> --data <hex_calldata> --value <native_amount> [--json] [--simulate]Calculate the average buy price and current profit/loss of a token.
node skills/web3-ops/index.js pnl --chain <chain> --token <symbol_or_address> [--buyPrice <manual_usd_price>] [--json]Monitor token price in real-time and execute a pre-authorized safety swap to USDC if limits are reached.
node skills/web3-ops/index.js monitor --chain <chain> --token <symbol_or_address> --amount <sell_amount> --cutloss <percent_or_price> --takeprofit <percent_or_price> [--max-checks <count>] [--interval <seconds>] [--alert] [--json]Fetch daily candles and analyze RSI (14) & EMA (20/50) indicators to generate Buy/Sell recommendations.
node skills/web3-ops/index.js signal --chain <chain> --token <symbol_or_address> [--alert] [--json]Perform a GoPlus security audit to detect honey pots, taxes, and code privileges.
node skills/web3-ops/index.js analyze --chain <chain> --token <symbol_or_address> [--json]Scan block explorer transfers for large transaction amounts exceeding a threshold.
node skills/web3-ops/index.js whales --chain <chain> --token <symbol_or_address> [--min-usd <value>] [--alert] [--json]Generate a random EVM wallet and automatically write its credentials to .env.
node skills/web3-ops/index.js create-wallet [--force] [--json]When interacting with the user regarding blockchain transactions:
--json for programmatic parsing.{ "success": true, ... }) directly to the user. Always parse the command's JSON output and translate it into a natural, friendly, and engaging human-readable response.--simulate.`0x940181a94A35A4569E4529A3CDfB74e38FD98631`) so users can tap to copy them instantly.--rpc flag to the command.explorer link from the output JSON and present it to the user so they can track block confirmation status..env file.mint command and omit the --function, --args, and --value parameters. The skill will automatically fetch the verified contract ABI, detect the mint function, and infer the arguments. Always suggest simulation using --simulate first to verify correctness.