Get all accounts associated with the provided address
const { data: accountsForAddress, isLoading, error,} = useAccountsForAddress(contract, "{{account_address}}");
function useAccountsForAddress( contract: RequiredParam<SmartContract<BaseContract>>, address: RequiredParam<string>,): UseQueryResult<Array<string>>;
Instance of a account factory contract
let contract: RequiredParam<SmartContract<BaseContract>>;
The address to get associated accounts for
let address: RequiredParam<string>;
let returnType: UseQueryResult<Array<string>>;
Query result object that includes an array of all accounts associated with the address