Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NftIsApproved

Check if a token is approved for transfer by a given account, optionally checking an approval_id

Arguments:

  • token_id: the token for which to revoke an approval
  • approved_account_id: the account to check the existence of in approvals
  • approval_id: an optional approval ID to check against current approval ID for given account

Returns: if approval_id given, true if approved_account_id is approved with given approval_id otherwise, true if approved_account_id is in list of approved accounts

contractmethod

view

Hierarchy

  • NftIsApproved

Index

Properties

Properties

args: { approval_id?: number; approved_account_id: string; token_id: string }

Type declaration

  • Optional approval_id?: number
  • approved_account_id: string
  • token_id: string

Generated using TypeDoc