get_exchange_router_contract
Documentation for eth_defi.gmx.contracts.get_exchange_router_contract function.
- get_exchange_router_contract(web3, chain)
Get ExchangeRouter contract instance for a specific network.
- Parameters
web3 (web3.main.Web3) – Web3 connection instance
chain (str) – Network name
- Returns
Web3 contract instance for ExchangeRouter
- Return type
web3.contract.contract.Contract