doOffGameNFT

function doOffGameNFT(
    OffGameNftRequest[] memory _request,
) external onlyRelayAdmin

NFT Off mode

Parameters

struct OffGameNFTRequest{
    address nftContract;
    string messageId;
    uint256 tokenId;
    address owner;
    string ownerUid;
    uint256 txFee;
}

Example

await manageNftRouterContract.doOffGameNFT(
            [{nftContract:fairyNftContract.address,
            messageId:"1234", 
            tokenId:3, 
            owner:accounts[0].address, 
            ownerUid:uid1, 
            txFee:ethers.utils.parseEther("100")}]
)

2023.02.10

Last updated