Skip to main content

Balance

The Balance component is used for displaying SUI balance for current user address on the currently active network.

The balance is updated automatically with 3 second interval.

note

Please note the component doesn't display anything if user wallet is not connected.

Usage

MyComponent.tsx
<Balance />

Uses

useBalance()