Function setRoyalty

  • Parameters

    • id: number

      The ID of the NFT.

    • amount: number

      The new royalty value.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

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

    Returns Promise<NFTRoyaltySetEvent>

    NFTRoyaltySetEvent Blockchain event.

    Name

    setRoyalty

    Summary

    Sets the royalty of an NFT.

Generated using TypeDoc