• useProfilesManaged is a paginated hook that lets you fetch profiles managed by a wallet.

    Parameters

    • args: {
          for: string;
          hiddenFilter?: InputMaybe<ManagedProfileVisibility>;
          includeOwned?: InputMaybe<boolean>;
          limit?: InputMaybe<LimitType>;
      }
      • for: string

        The Ethereum address for which to retrieve managed profiles

      • Optional hiddenFilter?: InputMaybe<ManagedProfileVisibility>
      • Optional includeOwned?: InputMaybe<boolean>
      • Optional limit?: InputMaybe<LimitType>

    Returns PaginatedReadResult<Profile[]>

    Example

    Fetch all managed profiles, including owned profiles

    const { data, loading, error } = useProfilesManaged({
    for: '0x1234567890123456789012345678901234567890',
    });

    Fetch managed profiles without owned ones

    const { data, loading, error } = useProfilesManaged({
    for: '0x1234567890123456789012345678901234567890',
    includeOwned: false,
    });