Balance
Displays the balance of a given address in both ether (ETH) and US dollars (USD). Click to toggle between ETH and USD.
Import
import { Balance } from "@scaffold-ui/components";Usage
<Balance address="0xd8da6bf26964af9d7eed9e03e53415d37aa96045" />Props
| Prop | Type | Default Value | Description |
|---|---|---|---|
| address | string | undefined | Address in 0x___ format, it will resolve its ENS if it has one associated. |
| className (optional) | string | "" | Prop to pass additional CSS styling to the component. You can use Tailwind / daisyUI classes like text-3xl for styling. |