query pairDaySnapshot($id: ID!, $block: Block_height){
    pairDaySnapshot(id: $id, block: $block){
        id
        pair{
            id
            type
            swapFee
            twapEnabled
            name
            source
            createdAtBlock
            createdAtTimestamp
            reserve0
            reserve1
            liquidity
            liquidityUSD
            liquidityNative
            trackedLiquidityNative
            token0Price
            token1Price
            volumeNative
            volumeUSD
            volumeToken0
            volumeToken1
            feesNative
            feesUSD
            apr
            aprUpdatedAtTimestamp
            txCount
        }
        date
        cumulativeVolumeUSD
        volumeUSD
        volumeNative
        volumeToken0
        volumeToken1
        liquidity
        liquidityNative
        liquidityUSD
        feesNative
        feesUSD
        apr
        transactionCount
    }
}