getOwnedTokens

function getOwnedTokens(
   address _owner
) external view returns(uint256[] memory tokens)

NFT ์†Œ์œ  ์ •๋ณด

Parameters

TypeValueDescription

address

_owner

์‚ฌ์šฉ์ž eoa

Return Values

TypeValueDescription

uint256[]

tokens

์†Œ์œ ์ค‘์ธ nft ์ •๋ณด(on mode)

Example

data = await manageDedollzNftContract.getOwnedTokens(accounts[0].address)

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

2023.03.27

Last updated