canOffGameNFT

function canOffGameNFT(
    address _nftContract, 
    address _owner, 
    string memory _ownerUid, 
    uint256 _tokenId, 
    uint256 _txFee
) external view returns(bool)

NFT Off mode ์‚ฌ์šฉ ๊ฐ€๋Šฅ ์—ฌ๋ถ€

Parameters

Type
Value
Description

address

_nftContract

NFT ์ปจํŠธ๋ž™ํŠธ ์ฃผ์†Œ

address

_owner

์‚ฌ์šฉ์ž eoa

string

_ownerUid

์‚ฌ์šฉ์ž uid

uint256

_tokenId

token id

uint256

_txFee

tx ์ˆ˜์ˆ˜๋ฃŒ

Return Values

Type
Value
Description

bool

๊ฐ€๋Šฅ True ๋ถˆ๊ฐ€๋Šฅ False

Example

await ManageNftRouterContract.canOffGameNFT(
    fairyNftContract.address,
    accounts[0].address,
    uid,
    1,
    ethers.utils.parseEther("1"),
);

2023.02.06

Last updated