Function setTransmissionProtocol

  • Name

    setTransmissionProtocol

    Summary

    Adds a transmission protocol to any type of NFT.

    Parameters

    • nftId: number

      The NFT Id to add transmission protocol.

    • recipient: string

      The destination account.

    • protocol: Protocols

      The transmission protocol to execute.

    • protocolCancellation: TransmissionCancellation

      the cancellation period of the transmission protocol.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

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

    Returns Promise<ProtocolSetEvent>

    ProtocolSetEvent Blockchain event.

Generated using TypeDoc