get_uniswap_for_pair#
API documentation for tradeexecutor.ethereum.uniswap_v2.uniswap_v2_routing.get_uniswap_for_pair Python function.
- get_uniswap_for_pair(web3, factory_router_map, target_pair)[source]#
Get a router for a trading pair.
- Parameters:
web3 (Web3) –
factory_router_map (dict) –
target_pair (TradingPairIdentifier) –
- Return type: