Function convertNftToCapsule

  • 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.




    Convert an existing basic NFT into a Capsule NFT.

Generated using TypeDoc