oneInch plugin - DEX/swap on testnet

I would like to swap tokens on a test network, is this possible?

When I try to:

dex.getSupportedTokens({chain:'Ropsten/ropsten/testnet/etc'});

I get an error message:

{code: 422, message: 'Invalid chain'}

So it’s not possible? Is it possible to test the token exchange/swap functionality only on the main network?
I found the same question on StackOverflow, but no one has answered yet. :slightly_frowning_face:

1 Like

Hey @ValkeAllar, hope you are well

Available chains This plugins works with 3 different blockchains (chain):

  • Ethereum (“eth”)
  • Binance Smart Chain (“bsc”)
  • Polygon (“polygon”)

Only those 3, so no testnet sadly from them :nerd_face:

Can check at: https://moralis.io/plugins/1inch/

Carlos Z

1 Like