Create a subgraph of NFT Tickets using GET Protocol (https://get-protocol.io).
Subgraph Explorer: https://thegraph.com/legacy-explorer/subgraph/apuyou/get-nft-ticket
{
tickets(first: 5) {
id
owner
event {
id
}
}
events(first: 5) {
id
name
tickets {
id
}
}
}
Code: https://github.com/apuyou/graph-get-nft-ticket-frontend