getOnGameNFTInfo

function getOnGameNFTInfo(
   address _nftContract, 
   uint256 _tokenId
) external view returns(IManageNFT.NFTData memory info)

NFT ์ •๋ณด(on mode)

Parameters

Return Values

struct NFTData{
  uint256 onGameTime;
  string url;
} 

Example

data = await manageNftRouterContract.getOnGameNFTInfo(fairyNftContract.address, 1)

// result
[
  BigNumber { value: "1675650182" },
  'http://test.com/fairy/1',
  onGameTime: BigNumber { value: "1675650182" },
  url: 'http://test.com/fairy/1'
]

2023.03.03

Last updated