Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NftRevokeAll

Revoke all approved accounts for a specific token.

Requirements

  • Caller of the method must attach a deposit of 1 yoctoⓃ for security purposes
  • If contract requires >1yN deposit on nft_approve, contract MUST refund all associated storage deposit when owner revokes approvals
  • Contract MUST panic if called by someone other than token owner

Arguments:

  • token_id: the token with approvals to revoke
contractmethod

change

Hierarchy

  • NftRevokeAll

Index

Properties

Properties

args: { token_id: string }

Type declaration

  • token_id: string
options: { attachedDeposit?: string; gas?: string }

Type declaration

  • Optional attachedDeposit?: string

    Units in yoctoNear

    default

    "0"

  • Optional gas?: string

    Units in gas

    pattern

    [0-9]+

    default

    "30000000000000"

Generated using TypeDoc