Function setRoyalty

  • Name

    setRoyalty

    Summary

    Sets the royalty of an NFT.

    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.

Generated using TypeDoc