getNFTsOfOwner

This gets all the NFTs of the currently authenticated user. Supports filters and attribute filters.

client.getNFTsOfOwner()

And here is the example output:

[
  {
    contractAddress: "0xa0e1b198bcc877a950a29512ab5c0ce1bb964c97"
    count: "1"
    image: "ipfs://QmTnCRAi4QAL7m6duLVBxPsvDZFnaYnsHWBaW5TnQRZMj7"
    metadata: {image: 'ipfs://QmTnCRAi4QAL7m6duLVBxPsvDZFnaYnsHWBaW5TnQRZMj7', attributes: Array(0)}
    name: null
    ownerAddress: "0x6140f00e4ff3936702e68744f2b5978885464cbb"
    spec: "erc721"
    tokenId: "96"
    updatedAt: 1636514736
  },
  {
    ...
  }
]

Last updated