sushiswap-watcher-ts/packages/v2-watcher/src/gql/queries/pairDayDatas.gql
Prathamesh Musale b1b79c844a Generate watcher for sushiswap v2 subgraph (#2)
Part of [Generate watchers for sushiswap subgraphs deployed in graph-node](https://www.notion.so/Generate-watchers-for-sushiswap-subgraphs-deployed-in-graph-node-b3f2e475373d4ab1887d9f8720bd5ae6)

Reviewed-on: cerc-io/sushiswap-watcher-ts#2
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-12 04:15:03 +00:00

41 lines
1.0 KiB
GraphQL

query pairDayDatas($block: Block_height, $where: PairDayData_filter, $orderBy: PairDayData_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
pairDayDatas(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
id
date
pairAddress
token0{
id
symbol
name
decimals
totalSupply
tradeVolume
tradeVolumeUSD
untrackedVolumeUSD
txCount
totalLiquidity
derivedETH
}
token1{
id
symbol
name
decimals
totalSupply
tradeVolume
tradeVolumeUSD
untrackedVolumeUSD
txCount
totalLiquidity
derivedETH
}
reserve0
reserve1
totalSupply
reserveUSD
dailyVolumeToken0
dailyVolumeToken1
dailyVolumeUSD
dailyTxns
}
}