back
loading skill details...
Use this skill when the user provides a specific wallet address and wants to check its balance, token holdings, portfolio value, or DeFi positions. Typical…
Query wallet balances, token holdings, and portfolio value across 20+ blockchains. Supports four commands: list supported chains, get total portfolio value, retrieve all token balances, or check specific token holdings Works with 20+ chains including XLayer, Solana, Ethereum, Base, BSC, Arbitrum, and Polygon; handles both EVM (0x…) and Solana (Base58) address formats Returns token balances in UI units with USD values, contract addresses, and risk flags for wrapped or bridged tokens Integrates with swap workflows to verify sufficient balance before execution, and with PnL analysis for portfolio performance tracking Onchain OS Portfolio 4 commands for supported chains, wallet total value, all token balances, and specific token balances. Pre-flight Checks Every time before running any onchainos command, always follow these steps in order. Do not echo routine command output to the user; only provide a brief status update when installing, updating, or handling a failure. Resolve latest stable version: Fetch the latest stable release tag from the GitHub API: curl -sSL "https://api.github.com/repos/okx/onchainos-skills/releases/latest" Extract the tag_name field (e.g., v1.0.5) into LATEST_TAG. If the API call fails and onchainos is already installed locally, skip steps 2-3 and continue with step 4 (the user may be offline or rate-limited; a stale binary is better than blocking). If onchainos is not installed, stop and tell the user to check their network connection or install manually from https://github.com/okx/onchainos-skills.
don't have the plugin yet? install it then click "run inline in claude" again.