Function getErc20Balance

  • Check an ERC20's balance for a given asset and

    Parameters

    • Optionalconfig: Config
    • Optionalasset: `0x${string}`
    • Optionalowner: `0x${string}`
    • Optionalparams: Partial<Omit<ReadContractParameters,
          | "address"
          | "abi"
          | "functionName"
          | "args">>

    Returns Promise<bigint>

    • The erc20 balance