Last active
November 2, 2021 16:10
-
-
Save newyellow/b00aba0120229496fad3772bd9f83691 to your computer and use it in GitHub Desktop.
Objkt sells query
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 RecentSold($token: bigint = "") { | |
hic_et_nunc_fulfilled_ask(where: {ask: {fa2_id: {_eq: "KT1MsdyBSAMQwzvDH4jt2mxUKJvBSWZuPoRJ"}}}, order_by: {timestamp: desc}, limit: 200) { | |
buyer_id | |
seller_id | |
timestamp | |
ask { | |
price | |
} | |
} | |
hic_et_nunc_bid(where: {fa2_id: {_eq: "KT1MsdyBSAMQwzvDH4jt2mxUKJvBSWZuPoRJ"}, seller_id: {_neq: "null"}}, order_by: {update_timestamp: desc}, limit: 200) { | |
seller_id | |
creator_id | |
price | |
update_timestamp | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment