Created
April 17, 2022 12:50
-
-
Save j2abro/d20a84b693afbf60819c69d4333ecfc1 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
// Get the first Uniswap V2 pairs. Sorted, starting at zero. Get the next 1000 by setting skip to 1000 | |
// https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v2 | |
// https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2/graphql | |
{ | |
pairs(first: 1000, skip: 0, orderBy: txCount, orderDirection: desc) { | |
id | |
txCount | |
volumeUSD | |
token0 { | |
id | |
symbol | |
name | |
decimals | |
} | |
token1 { | |
id | |
symbol | |
name | |
decimals | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment