2.6k
GitHub Stars
3
Bundled Files
6 months ago
Catalog Refreshed
8 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill onchain- _meta.json447 B
- README.md3.5 KB
- SKILL.md8.5 KB
Overview
This skill is a CLI tool for crypto portfolio tracking, market data, CEX history, prediction market sentiment, and transaction lookups. It supports EVM chains and Solana, integrates with Coinbase/Binance, DeBank, and Helius, and is optimized for both interactive use and agent/scripts via JSON output. Setup of provider API keys unlocks full functionality; price and markets work without configuration using CoinGecko.
How this skill works
The CLI queries configured provider APIs (DeBank for EVM wallets, Helius for Solana, Coinbase/Binance for CEX accounts and trade history) to fetch balances, portfolio composition, and transaction history. It also retrieves market data, gas prices, and Polymarket predictions, and can resolve transaction details by hash or explorer URL using Etherscan/Solscan endpoints. Use the --json flag to produce machine-readable output for automation and agents.
When to use it
- Check token prices, market overviews, or trending assets.
- Inspect wallet balances, DeFi positions, and full portfolio value across chains.
- Lookup transaction details by hash or block-explorer URL for EVM/Solana.
- Fetch Coinbase or Binance balances and trade history after setup.
- Analyze Polymarket prediction sentiment and trending markets for decision-making.
Best practices
- Run onchain setup and onchain test before using provider-specific commands to ensure API keys are configured.
- Always use --json for scripts and agent workflows to get structured data and predictable exit codes.
- Save frequently used wallets with onchain config wallet add and reference by name to avoid repeated address input.
- Respect provider rate limits in automation; add delays between consecutive requests.
- Use onchain config to set Polymarket tag filters to reduce noise from irrelevant markets.
Example use cases
- Get BTC price quickly: onchain price btc (or onchain --json price btc for scripts).
- Audit a wallet: onchain balance 0x1234... and onchain portfolio main to see tokens and DeFi positions.
- Investigate a transaction: onchain tx <hash> or onchain tx <explorer-url> to get status, from/to, value, fee, and method ID.
- Retrieve CEX history: onchain coinbase history or onchain binance balance after running setup.
- Assess prediction markets: onchain polymarket sentiment bitcoin or onchain polymarket trending --exclude sports to surface relevant markets.
FAQ
Price and markets commands work on the free CoinGecko tier; anything requiring DeBank, Helius, Coinbase, or Binance requires onchain setup with API keys.
How do I integrate with an agent or script?
Use the --json flag for all commands to return structured JSON, check exit codes (0 success, 1 error), and handle rate limits with delays.