route_tokens#

API documentation for tradeexecutor.ethereum.routing_state.route_tokens Python function.

route_tokens(trading_pair, intermediate_pair)[source]#

Convert trading pair route to physical token addresses.

Parameters:
Return type:

Tuple[ChecksumAddress, ChecksumAddress, Optional[ChecksumAddress]]