query pools($block: Block_height, $where: Pool_filter, $orderBy: Pool_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    pools(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        createdAtBlockNumber
        createdAtTimestamp
        collateralToken{
            id
            symbol
            name
            decimals
            tokenType
            poolCount
            totalSupply
            txCount
        }
        quoteToken{
            id
            symbol
            name
            decimals
            tokenType
            poolCount
            totalSupply
            txCount
        }
        poolSize
        t0debt
        inflator
        borrowRate
        lendRate
        borrowFeeRate
        depositFeeRate
        pledgedCollateral
        totalInterestEarned
        txCount
        poolType
        loansCount
        maxBorrower
        quoteTokenFlashloaned
        collateralFlashloaned
        hpb
        hpbIndex
        htp
        htpIndex
        lup
        lupIndex
        reserves
        claimableReserves
        claimableReservesRemaining
        burnEpoch
        totalAjnaBurned
        reserveAuctions{
            id
            claimableReservesRemaining
            lastTakePrice
            burnEpoch
            ajnaBurned
        }
        minDebtAmount
        actualUtilization
        targetUtilization
        totalBondEscrowed
        liquidationAuctions{
            id
            borrower
            lastTakePrice
            collateral
            collateralRemaining
            debt
            debtRemaining
            kicker
            kickTime
            settleTime
            settled
            bondSize
            bondFactor
            neutralPrice
            referencePrice
            thresholdPrice
        }
        quoteTokenBalance
        collateralBalance
        subsetHash
        tokenIdsPledged
        bucketTokenIds
        tokenIdsAllowed
    }
}