• Change ,reaffirm or revoke the approved address for an NFT. Checks that the caller is the NFT owner or has been approved by the owner.

    Remarks

    If approved is the zero address, the function will clear the approval for the NFT by deleting the key.

    Parameters

    • approved: string

      The new approved NFT operator

    • tokenId: u256

      The NFT to approve

    Returns void

Generated using TypeDoc