canBreedNFT

function canBreedNFT(
    address _nftContract,
    string memory _ownerUid, 
    uint256 _matronId, 
    uint256 _sireId, 
    uint256 _breedFee, 
    string memory _url, 
    uint256 _txFee
) external view returns(bool)

NFT Breed 사용 가능 여부

Parameters

Return Values

Example

await ManageNftRouterContract.canBreedNFT(
    fairyNftContract.address,
    uid,
    1,
    2,
    ethers.utils.parseEther("10"),
    "http://test.com/fairy/",
    ethers.utils.parseEther("10"),
);

2023.02.06

Last updated