getOnGameNFTTokensOf

function getOnGameNFTTokensOf(
   address _nftContract, 
   string memory _ownerUid
) external view returns(uint256[] memory tokens)

NFT 소유정보(on mode)

Parameters

TypeValueDescription

address

_nftContract

NFT 컨트랙트 주소

uint256

_ownerUid

사용자 uid

Return Values

TypeValueDescription

uint256[]

tokens

소유중인 nft 정보(on mode)

Example

data = await manageNftRouterContract.getOnGameNFTTokensOf(fairyNftContract.address, uid)

// result
[
  BigNumber { value: "1" },
  BigNumber { value: "2" },
  BigNumber { value: "3" }
]

2023.03.03

Last updated