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

    Interface ICollectionClient

    interface ICollectionClient {
        addToProfile(profileProcessId: string): Promise<void>;
        getInfo(): Promise<CollectionInfo>;
        transferAllAssets(recipient: string): Promise<void>;
        updateAssets(request: UpdateAssetsRequest): Promise<boolean>;
    }

    Implemented by

    Index

    Methods

    • Transfer all NFTs in the collection to a recipient Creates an NFT client instance for each asset process ID and transfers them

      Parameters

      • recipient: string

        The recipient's address to transfer all NFTs to

      Returns Promise<void>

      TransferAllAssetsError if any transfers fail