Function setCapsuleOffchaindata

  • Name

    setCapsuleOffchaindata

    Summary

    Sets the offchain data of a Capsule NFT.

    Parameters

    • nftId: number

      The NFT Id to set the capsule's offchain data. Capsules are mutable

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

    CapsuleOffchainDataSetEvent Blockchain event.

Generated using TypeDoc