sushiswap-watcher-ts/packages/v3-watcher/src/gql/queries/collect.gql
2024-06-06 12:05:36 +05:30

50 lines
1.1 KiB
GraphQL

query collect($id: ID!, $block: Block_height){
collect(id: $id, block: $block){
id
transaction{
id
blockNumber
timestamp
gasUsed
gasPrice
}
timestamp
pool{
id
createdAtTimestamp
createdAtBlockNumber
feeTier
liquidity
sqrtPrice
feeGrowthGlobal0X128
feeGrowthGlobal1X128
token0Price
token1Price
tick
observationIndex
volumeToken0
volumeToken1
volumeUSD
untrackedVolumeUSD
feesUSD
txCount
collectedFeesToken0
collectedFeesToken1
collectedFeesUSD
totalValueLockedToken0
totalValueLockedToken1
totalValueLockedETH
totalValueLockedUSD
totalValueLockedUSDUntracked
isProtocolFeeEnabled
liquidityProviderCount
}
owner
amount0
amount1
amountUSD
tickLower
tickUpper
logIndex
}
}