A pre-built solution for verifying NFT Holders

The NFT Holder task type offers a convenient mechanism for verifying holders of a particular NFT using a pre-built solution. However, this solution is not universally applicable across all networks. See below to learn about this task type, its limitations, and how it can be set up.

<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/046d56bb-337c-428c-ba45-93717675a29f/44746536-e16d-4400-be7a-0e61592d1c40/Round_Gradient_Background_(1).png" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/046d56bb-337c-428c-ba45-93717675a29f/44746536-e16d-4400-be7a-0e61592d1c40/Round_Gradient_Background_(1).png" width="40px" />

Course Navigation

  1. Course Introduction
  2. Task verification on Galxe: How does it work?
  3. What kinds of onchain tasks can be verified on Galxe Quest?
  4. Onchain task types on Galxe Quest
    1. NFT Holder tasks - Current Page
    2. Snapshot Vote tasks
    3. Wallet Balance tasks
    4. Contract Query tasks
    5. Import Your Own Data tasks
      1. Import Your Own Data task set up requirements
      2. Setting up Import Your Own Data Tasks
  5. Strategy considerations for onchain tasks
  6. Troubleshooting and resolving common issues with onchain tasks
  7. Course Completion and Certification </aside>

The NFT Holder task type - how it works

A tour of the NFT Holder task type and its features

A tour of the NFT Holder task type and its features

The NFT Holder task type on Galxe Quest is a pre-built solution for verifying the holders of a particular NFT. When a quest participant clicks the verify button of an NFT Holder task, Galxe verifies the task by comparing two relevant data points. The first data point is the participant’s wallet address bound to their Galxe Account. In the case of an NFT Holder task, this is the participant’s EVM Address as currently only Ethereum and EVM-compatible BNB Chain are supported by the NFT Holder task type.

The second point of comparison is holder data of the particular NFT queried from Galxe’s GraphQL data or the NFT’s Smart Contract. Essentially, the data returned in this query tells Galxe whether or not the participant’s wallet address holds the particular NFT currently, or at the time of the snapshot if the snapshot option in the task is activated. Based on this returned data, Galxe verifies the NFT Holder task or not.

Limitations of the NFT Holder task type

The NFT Holder task type currently supports task verification on Ethereum and BNB Chain. If you would like to verify holders of NFTs on other networks, it is recommended that you use either Contract Query or Import Your Own Data task types, covered in later sections of this course.

What is required to set up an NFT Holder task

NFT Holder task set up differs based on which of the two supported NFT types you would like to verify holders for.

For the first NFT type, OAT & Galxe Issued NFTs, you need only know the quest name of the NFT for which you want to verify holders. When setting up an NFT Holder task with this NFT type, the name of the quest will appear in a drop down menu when you search for it.

For the second NFT type, Other NFTs, you will need to select the network and input the NFT’s contract address. The contract address for a given NFT can usually be found on the network’s Block Explorer. For example, the contract address of the Milady Maker NFT collection can be found on Etherscan here. You can read more about finding the contract of address of a particular NFT collection here.

Setting up an NFT Holder task

NFT Holder task set up on Galxe Quest

NFT Holder task set up on Galxe Quest

You can set up an NFT Holder task on Galxe Quest through the following steps (shown also in the video above):

  1. Navigate to step 3, Task Settings, in Galxe’s quest creation process
  2. Select the On-Chain task type category if it is not selected already
  3. Click NFT Holder to generate the task set up fields
  4. Choose the NFT Type for which you want to verify holders, either OAT & Galxe Issued NFT or Other NFTs