query transaction($id: ID!, $block: Block_height){
    transaction(id: $id, block: $block){
        id
        gasLimit
        gasPrice
        mints{
            id
            timestamp
            to
            liquidity
            sender
            amount0
            amount1
            logIndex
            amountUSD
            feeTo
            feeLiquidity
        }
        burns{
            id
            timestamp
            liquidity
            sender
            amount0
            amount1
            to
            logIndex
            amountUSD
            complete
            feeTo
            feeLiquidity
        }
        swaps{
            id
            timestamp
            sender
            amountIn
            amountOut
            to
            logIndex
            amountUSD
        }
        createdAtBlock
        createdAtTimestamp
    }
}