Get all accounts
const { data: accounts, isLoading, error } = useAccounts(contract);
function useAccounts( contract: RequiredParam<SmartContract<BaseContract>>,): UseQueryResult<Array<string>>;
Instance of a account factory contract
let contract: RequiredParam<SmartContract<BaseContract>>;
let returnType: UseQueryResult<Array<string>>;
Query result object that includes an array of all accounts with their associated admin