Viewing a User's NFTs
5

Goal

To view the contents of a user's verified wallet, which will then allow you to provide benefits and content based on which NFTs they own.

Process

When users want to access your content, you need to check what items are in their wallet with the following code:

GraphQL
query getBalance {
EnjinBalances(ethAddress: "<Ethereum Address>",value_gte: 1, appIds: [<App ID>]) {
  token {
  id
  name
  itemURI
  meltValue
  }
  index
  value
}
}
Previous
next
On This Page