canOffGameNFT

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

NFT Off mode μ‚¬μš© κ°€λŠ₯ μ—¬λΆ€

Parameters

TypeValueDescription

address

_nftContract

NFT μ»¨νŠΈλž™νŠΈ μ£Όμ†Œ

address

_owner

μ‚¬μš©μž eoa

string

_ownerUid

μ‚¬μš©μž uid

uint256

_tokenId

token id

uint256

_txFee

tx 수수료

Return Values

TypeValueDescription

bool

κ°€λŠ₯ True λΆˆκ°€λŠ₯ False

Example

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

2023.02.06

Last updated