python_1inch
python_1inch copied to clipboard
A wrapper around the 1INCH API. https://1inch.exchange
Results
3
python_1inch issues
Sort by
recently updated
recently updated
newest added
hi! if I try to use the polygon chain I've an error....it's not implemented yet! from python_1inch import OneInchExchange #eth_exchange = OneInchExchange('Some_eth_address') polygon_exchange = OneInchExchange('0xcf32822ff397ef82425153a9dcb726e5ff61dca7', chain='polygon') polygon_exchange.health_check() # 'OK' #...
The code below should make the health_check method work for bsc. def health_check(self): url = '{}/{}/{}/healthcheck'.format( self.base_url, self.version, self.chain_id) Well done, hope it helps !