Home / Market / vike-wallet-balances

vike-wallet-balances

Current token balances for a wallet on Ethereum, BSC, Base and HyperEVM, read from the chain at request time, with a USD value where the token is priced. Use when the user asks "what does this wallet hold" / "current portfolio of X" / "show top holdings".

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: vike-wallet-balances description: Current token balances for a wallet on Ethereum, BSC, Base and HyperEVM, read from the chain at request time, with a USD value where the token is priced. Use when the user asks "what does this wallet hold" / "current portfolio of X" / "show top holdings". allowed-tools: Bash(vike-data:*)

---

vike-wallet-balances

Command

vike-data wallet balances <address>
  [--chains ethereum,bsc,base,hyperevm]   (default: all four)
  [--min-usd 1]             (hide holdings worth less; default 1)
  [--json]

Scanning all four chains is slow (tens of seconds for a busy wallet): pass --chains with the chain you need. Any other chain (arbitrum, polygon...) is not skipped silently: it is named in chain_errors. Each holding carries its own chain, so this is also the quickest way to see WHERE a wallet's value is before choosing --chain for the per-chain wallet commands.

Example

vike-data wallet balances 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --chains ethereum

Output

{
  "address": "0x...",
  "total_usd": 10532.82,
  "chains_scanned": ["ethereum"],
  "holdings": [
    { "chain": "ethereum", "symbol": "ENS", "name": "Ethereum Name Service", "address": "0xc183...", "balance": 1144.04, "balance_raw": "1144036076063671431479", "usd_value": 6843.62, "usd_price": 5.982 },
    { "chain": "ethereum", "symbol": "WEI", "address": "0x0000...", "balance": 1.0, "balance_raw": "1", "usd_value": null, "usd_price": null },
    { "chain": "ethereum", "symbol": "ETH", "name": "ETH", "address": null, "balance": 2.5, "balance_raw": "2500000000000000000", "usd_value": 9500.0, "usd_price": 3800.0 }
  ]
}

Holdings are sorted by usd_value descending with unpriced rows last. chain_errors appears only when a requested chain was refused or failed.

Reading

Anti-patterns

Pairs well with