Function convertNftToCapsule

  • Name

    convertNftToCapsule

    Summary

    Convert an existing basic NFT into a Capsule NFT.

    Parameters

    • nftId: number

      The NFT Id to convert in a capsule.

    • capsuleOffchainData: string

      The offchain capsule data (a string)

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

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

    Returns Promise<NFTConvertedToCapsuleEvent>

    NFTConvertedToCapsuleEvent Blockchain event.

Generated using TypeDoc