sushiswap-watcher-ts/packages/sushiswap-watcher/src/gql/queries/tokenDaySnapshots.gql
Prathamesh Musale a5d88324df Generate watcher for sushiswap subgraph (#4)
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)

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
Reviewed-on: cerc-io/sushiswap-watcher-ts#4
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-12 04:49:33 +00:00

37 lines
986 B
GraphQL

query tokenDaySnapshots($block: Block_height, $where: TokenDaySnapshot_filter, $orderBy: TokenDaySnapshot_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
tokenDaySnapshots(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
id
date
token{
id
symbol
symbolSuccess
name
nameSuccess
decimals
decimalsSuccess
liquidity
liquidityNative
liquidityUSD
volume
volumeNative
volumeUSD
feesNative
feesUSD
txCount
pairCount
whitelistedPairCount
}
liquidity
liquidityNative
liquidityUSD
volume
volumeNative
volumeUSD
priceNative
priceUSD
feesNative
feesUSD
transactionCount
}
}