NFTApprovalBase

Type Alias: NFTApprovalBase

type NFTApprovalBase = SmartContract & {
  canTransfer: Promise<Bool>;
};

Defined in: packages/nft/src/interfaces/approval.ts:28

The NFTApprovalBase interface defines the administrative functionalities required for managing an NFT transfer approval on the Mina Protocol.

Type declaration

canTransfer()

Determines if an NFT can be transferred from one owner (from) to another (to) for a specific NFT contract address.

Parameters

params

TransferExtendedParams

The transfer details.

Returns

Promise<Bool>

A Promise resolving to a Bool indicating whether the transfer is allowed.