• Beta

    A hook to get the native or (optional) ERC20 token balance of the connected wallet.

    Parameters

    • Optional tokenAddress: string

      the address of the token contract, if empty will use the chain's native token

    Returns UseQueryResult

    the balance of the connected wallet (native or ERC20)

Generated using TypeDoc