Quick Start
Last updated
Last updated
Our Graph node indexer is free for anyone to query, and is simpler to query with less technical details. However, for some users, it may be more suitable to query our smart contracts directly.
We would recommend interacting with our smart contracts if you:
Only require checking ownership of a ticket NFT for access, without needing to know which exact NFT token ID the user owns. This is commonly the case for websites that simply wish to use Metapass tickets for authentication
Require some advanced interaction with the smart contracts directly. For example, needing to approve or transfer ticket NFTs on your platform.
For most users, we recommend using our graph node service if you:
Need to know which exact NFTs a user owns. This is the often case if you need to obtain additional information about each ticket. i.e, if you need to maintain additional data regarding each ticket owned.
Need to know the transaction history of a particular ticket NFT. This is useful for building 3rd party marketplaces on top of our NFTs.
Do not need to interact directly (a.k.a. write to) our smart contracts, you just need to read information about them
For both services, you will need a way to connect your user with his Metamask wallet. It is recommended to do so with a modern javascript frontend stack, such as using React or Angular. See below for two guides on how to do so on the Theta blockchain:
Next, you need to know what the smart contract address(es) is for the tickets you have created on Metapass. For individual events, follow the steps below to do so:
Click on the events tab on the top of the page
Find and click on the event you want to use your smart contracts for
Click on the "Creator Dashboard" on the top right of the page
Click on the "Balances" subpage on the left sidebar
Here, you can see a list of tickets you have created for this event. Take note of their smart contract addresses.
After you have a Metamask connection setup, follow through our next pages to see how you can integrate Metapass NFTs:
Navigate to