Function delegateNft

  • Name

    delegateNft

    Summary

    Delegates an NFT to someone.

    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: WaitUntil

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

    Returns Promise<NFTDelegatedEvent>

    NFTDelegatedEvent Blockchain event.

Generated using TypeDoc