Skip to main content

useGetAccountNativeBalance

Use this hook to fetch the MOVE balance for an address.

Usage

const balance = useGetAccountNativeBalance(address);

This example retrieves Move balance of the address and stores the details in the balance object.

Parameters

ParameterTypeDescription
address (optional)stringAddress of the account to query. Uses the connected account address if no address is given.

Parameters

  • balance: Object containing Move balance for this address.