query pairs($block: Block_height, $where: Pair_filter, $orderBy: Pair_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    pairs(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        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
        reserveETH
        reserveUSD
        trackedReserveETH
        token0Price
        token1Price
        volumeToken0
        volumeToken1
        volumeUSD
        untrackedVolumeUSD
        txCount
        createdAtTimestamp
        createdAtBlockNumber
        liquidityProviderCount
        pairHourData{
            id
            hourStartUnix
            reserve0
            reserve1
            totalSupply
            reserveUSD
            hourlyVolumeToken0
            hourlyVolumeToken1
            hourlyVolumeUSD
            hourlyTxns
        }
        liquidityPositions{
            id
            liquidityTokenBalance
        }
        liquidityPositionSnapshots{
            id
            timestamp
            block
            token0PriceUSD
            token1PriceUSD
            reserve0
            reserve1
            reserveUSD
            liquidityTokenTotalSupply
            liquidityTokenBalance
        }
        mints{
            id
            timestamp
            to
            liquidity
            sender
            amount0
            amount1
            logIndex
            amountUSD
            feeTo
            feeLiquidity
        }
        burns{
            id
            timestamp
            liquidity
            sender
            amount0
            amount1
            to
            logIndex
            amountUSD
            needsComplete
            feeTo
            feeLiquidity
        }
        swaps{
            id
            timestamp
            sender
            from
            amount0In
            amount1In
            amount0Out
            amount1Out
            to
            logIndex
            amountUSD
        }
    }
}