Skip to main content

Balance

Displays the balance of a given address in both ether (ETH) and US dollars (USD).

Balance Example

Importโ€‹

import { Balance } from "~~/components/scaffold-eth";

Usageโ€‹

<Balance address="0x34aA3F359A9D614239015126635CE7732c18fDF3" />

Propsโ€‹

PropTypeDefault ValueDescription
addressstringundefinedAddress 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.