python_1inch icon indicating copy to clipboard operation
python_1inch copied to clipboard

Polygon

Open NeoSephiroth opened this issue 4 years ago • 0 comments

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'

fetches the tokens from the API

polygon_exchange.get_tokens()

are then stored in memory

polygon_exchange.tokens

NeoSephiroth avatar Oct 31 '21 17:10 NeoSephiroth