WalletLive Preview
Wallet Balance
Portfolio overview with total value, weighted 24h change, allocation bar with cross-hover, and token list sorted by value.
balanceportfoliotokensallocation
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
tokens* | Token[] | — | Tokens with balance, price, optional logo/color/priceChange24h |
onTokenClick | (token: Token) => void | — | Called when user clicks a token row |
onSend | (token: Token) => void | — | Called when user clicks send on a token |
onSwap | (token: Token) => void | — | Called when user clicks swap on a token |
onRefresh | () => void | Promise<void> | — | Refresh callback with loading spinner |
showAllocation | boolean | true | Show allocation bar above token list |
className | string | — | Additional CSS classes |