Last active
November 2, 2021 18:12
-
-
Save metanivek/e010d36fc1bafdd775175812fc8873dd to your computer and use it in GitHub Desktop.
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 FetchMyObjkts($addresses: [String!], $include_tags: [String!]) { | |
hic_et_nunc_ask( | |
where: { | |
creator_id: { _in: $addresses } | |
status: { _eq: "active" } | |
amount_left: { _gt: 0 } | |
} | |
) { | |
price | |
creator_id | |
objkt_id | |
} | |
hic_et_nunc_token( | |
where: { | |
creator_id: { _nin: $addresses } | |
token_holders: { | |
quantity: { _gt: 0 } | |
holder_id: { _in: $addresses } | |
} | |
} | |
order_by: { id: desc } | |
) { | |
id | |
mime | |
creator_id | |
title | |
artifact_uri | |
display_uri | |
description | |
supply | |
creator { | |
name | |
} | |
token_tags(where: { tag: { tag: { _in: $include_tags } } }) { | |
tag { | |
tag | |
} | |
} | |
swaps( | |
where: { | |
creator_id: { _in: $addresses } | |
status: { _eq: 0 } | |
contract_version: { _neq: "1" } | |
} | |
order_by: { price: asc } | |
) { | |
price | |
creator_id | |
amount | |
amount_left | |
} | |
token_holders(where: { quantity: { _gt: 0 } }) { | |
holder_id | |
quantity | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment