Created
October 16, 2020 15:59
-
-
Save buddies2705/15e393b561c3503315ee40b5d58c9e58 to your computer and use it in GitHub Desktop.
Latest trades on a DEX Protocol
This file contains hidden or 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
{ | |
ethereum(network: ethereum) { | |
dexTrades(options: {limit: 10, desc: "trades"}, protocol: | |
{is: "Uniswap v2"}) { | |
protocol | |
buyCurrency { | |
symbol | |
address | |
} | |
buyAmount | |
sellCurrency { | |
symbol | |
address | |
} | |
sellAmount | |
trades: count | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment