• Beta

    Get all accounts

    Parameters

    • contract: RequiredParam<SmartContract<BaseContract>>

      an instance of a account factory contract

    Returns UseQueryResult<string[]>

    a response object that includes an array of all accounts with their associated admin

    Example

    const { data: accounts, isLoading, error } = useAccounts(contract);
    

    Twfeature

    AccountFactory

    See

    Documentation

Generated using TypeDoc