DOCS

useBalanceForAddress

Get the native token balance of a wallet address on the activeChain network set in the ThirdwebProvider

function useBalanceForAddress(
  walletAddress: string,
): UseQueryResult<{}, unknown>;

Parameters

Returns

the balance of the given wallet address

type ReturnType = UseQueryResult<{}, unknown>;