ao-js-sdk - v0.0.9
    Preparing search index...

    Interface IProfilesService

    Interface for the Profiles service Provides methods for retrieving profile information using various identifiers

    interface IProfilesService {
        getProfileInfosByProfileProcessIds(
            processIds: string[],
        ): Promise<ProfileInfo[]>;
        getProfileInfosByWalletAddress(
            walletAddresses: string[],
        ): Promise<ProfileInfo[]>;
    }

    Implemented by

    Index

    Methods

    • Retrieves profile information for multiple profile process IDs directly

      Parameters

      • processIds: string[]

        Array of profile process IDs to get info for

      Returns Promise<ProfileInfo[]>

      Promise resolving to array of profile info responses

      If profile info cannot be retrieved

      If there's an error fetching profile info

    • Retrieves profile information for multiple wallet addresses First gets profile process IDs from registry, then fetches profile info for each

      Parameters

      • walletAddresses: string[]

        Array of wallet addresses to get profile info for

      Returns Promise<ProfileInfo[]>

      Promise resolving to array of profile info responses

      If profile info cannot be retrieved

      If no profile exists for a given wallet address

      If there's an error fetching profile info