Function delegateNft

  • Name

    delegateNft

    Summary

    Delegates an NFT to someone.

    Returns

    NFTDelegatedEvent Blockchain event.

    Parameters

    • id: number

      The ID of the NFT.

    • recipient: undefined | string = undefined

      Destination account. If set to undefined this functions acts as a way to undelegate a delegated NFT.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: TernoaConstants.WaitUntil

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

    Returns Promise<TernoaEvents.NFTDelegatedEvent>

Generated using TypeDoc