Created
October 4, 2022 12:53
-
-
Save mariuswatz/c78f4875fe5be4820a4764d1a6c2021f to your computer and use it in GitHub Desktop.
Demo TezTok GraphQL API query to get tokens received for a certain Tezos wallet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Query to be run on graphiql.teztok.com/ | |
query TokensReceivedHenReunion { | |
holdings(where: {first_received_at: {_gte: "09-29-2022"}, amount: {_gte: "0"}, holder_address: {_eq: "tz2NY3Fgt5QufrYGP1JKdvLKcWWt86sLsqrS"}}) { | |
amount | |
token { | |
fa2_address | |
token_id | |
name | |
description | |
artifact_metadata | |
metadata { | |
tokens { | |
thumbnail_uri | |
tags { | |
tag | |
} | |
} | |
} | |
artist_address | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment