Last active
June 19, 2021 00:40
-
-
Save ries9112/ebd0e3194613334353d89e1845fa82e3 to your computer and use it in GitHub Desktop.
This is an example of using the GraphQL endpoint by @marchingsquare. This example gets data for John Karel address and finds objkts with certain tags (loose match with 'like'). Try copy/pasting this example into this editor: https://api.hicdex.com/graphiql/
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 collectorGallery($address: String = "tz1gqaKjfQBhUMCE6LhbkpuittRiWv5Z6w38") { | |
hic_et_nunc_token(where: {trades: {buyer: {address: {_eq: $address}}}, _and: {token_tags: {tag: {tag: {_like: "jjjjjjjjjjohn"}}, _or: {token: {token_tags: {tag: {tag: {_like: "window"}}}}}}}}, order_by: {id: asc}) { | |
id | |
artifact_uri | |
thumbnail_uri | |
timestamp | |
mime | |
title | |
description | |
supply | |
token_tags { | |
tag { | |
tag | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment