Last active
March 9, 2022 22:04
-
-
Save mculp/72d5f25af603b6d12547f3475c1291e9 to your computer and use it in GitHub Desktop.
API for solidly.dev/pairs
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
curl 'https://api.thegraph.com/subgraphs/name/spartacus-finance/solidly' \ | |
-H 'authority: api.thegraph.com' \ | |
-H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99"' \ | |
-H 'accept: */*' \ | |
-H 'content-type: application/json' \ | |
-H 'sec-ch-ua-mobile: ?0' \ | |
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36' \ | |
-H 'sec-ch-ua-platform: "macOS"' \ | |
-H 'origin: https://solidly.dev' \ | |
-H 'sec-fetch-site: cross-site' \ | |
-H 'sec-fetch-mode: cors' \ | |
-H 'sec-fetch-dest: empty' \ | |
-H 'referer: https://solidly.dev/' \ | |
-H 'accept-language: en-US,en;q=0.9' \ | |
--data-raw $'{"operationName":"uniswapDayDatas","variables":{"startTime":1615334398,"skip":0},"query":"query uniswapDayDatas($startTime: Int\u0021, $skip: Int\u0021) {\\n uniswapDayDatas(first: 1000, skip: $skip, where: {date_gt: $startTime}, orderBy: date, orderDirection: asc) {\\n id\\n date\\n totalVolumeUSD\\n dailyVolumeUSD\\n dailyVolumeETH\\n totalLiquidityUSD\\n totalLiquidityETH\\n __typename\\n }\\n}\\n"}' \ | |
--compressed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment