Returns a list of contracts (i.e. collections) based on type of ownership:

  1. owns_contract_nfts- the given account (wallet) address owns at least one NFT.
  2. owns_contracts- the given account (wallet) address is the owner of the contract.

Useful for:

  • Showing the user a list of contracts in which they own NFTs.
  • Showing the user a list of contracts owned by them.
  • Checking if a user owns an NFT in a specific collections and then unlocking some experience for them, i.e. token-gating. (You are still responsible for validating that the user owns the wallet.)

Related:

Language
Credentials
Header
Click Try It! to start a request and see the response here!