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