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;
}
TypeValueDescription

OffGameNftRequest

_request

request λ°°μ—΄

OffGameNftRequest.address

nftContract

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

OffGameNftRequest.string

messageId

λ©”μ‹œμ§€ 고유 ID

OffGameNftRequest.uint256

tokenId

token id

OffGameNftRequest.address

owner

μ‚¬μš©μž eoa

OffGameNftRequest.string

ownerUid

μ‚¬μš©μž uid

OffGameNftRequest.uint256

txFee

tx 수수료

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