Skip to content

Instantly share code, notes, and snippets.

@botdad
Created February 7, 2022 17:50
Show Gist options
  • Save botdad/8c2081b8e4e52852f06bd3d511675f8b to your computer and use it in GitHub Desktop.
Save botdad/8c2081b8e4e52852f06bd3d511675f8b to your computer and use it in GitHub Desktop.
Top 50 uni v3 pools by TVL
curl 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3' -X POST -H 'content-type: application/json' --data-raw '{"operationName":"topPools","variables":{},"query":"query topPools {\n pools(\n first: 50\n orderBy: totalValueLockedUSD\n orderDirection: desc\n subgraphError: allow\n ) {\n id\n __typename\n totalValueLockedUSD \n }\n}\n"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment