query bucket($id: ID!, $block: Block_height){
    bucket(id: $id, block: $block){
        id
        bucketIndex
        bucketPrice
        exchangeRate
        poolAddress
        pool{
            id
            createdAtBlockNumber
            createdAtTimestamp
            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
            minDebtAmount
            actualUtilization
            targetUtilization
            totalBondEscrowed
            quoteTokenBalance
            collateralBalance
            subsetHash
            tokenIdsPledged
            bucketTokenIds
            tokenIdsAllowed
        }
        collateral
        deposit
        lpb
        lends{
            id
            bucketIndex
            poolAddress
            lender
            lpb
            lpbValueInQuote
            depositTime
        }
        positionLends{
            id
            bucketIndex
            depositTime
            lpb
            lpbValueInQuote
            tokenId
        }
    }
}