query routes($block: Block_height, $where: Route_filter, $orderBy: Route_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    routes(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        from
        to
        tokenIn
        tokenOut
        amountIn
        amountOutMin
        amountOut
        timestamp
    }
}