RoutecreateRoute#Constructs and validates a RoutecreateRoute( pools: Pool[]! # The ordered list of pools from which to construct the route inToken: Token! # The input token outToken: Token! # The output token): Route!CopyrouteChainId#Returns the chain id of the tokens in the routerouteChainId( route: Route! ): ChainId!CopyrouteMidPrice#Returns the mid price of the routerouteMidPrice( pools: Pool[]! # The ordered list of pools from which to calculate the mid price inToken: Token! # The input token outToken: Token! # The output token): Price!Copy