Function addNftToCollection

  • Name

    addNftToCollection

    Summary

    Adds an NFT to an existing collection.

    Parameters

    • nftId: number

      The ID of the NFT.

    • collectionId: number

      The ID of the Collection.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

      Execution trigger that can be set either to BlockInclusion or BlockFinalization.

    Returns Promise<NFTAddedToCollectionEvent>

    NFTAddedToCollectionEvent Blockchain event.

Generated using TypeDoc