Help me, please. I pass tokens addresses for swap and get same error every time: transact to RouterInterface.swapExactETHForTokens errored: Error encoding arguments: Error: expected array value (argument=null, value="[0x082B81dd5A6A1f57192C50350919A58b3A086b4B,0x056D37CAa2aa37AFD13b71689c416c596d90FDAe]", code=INVALID_ARGUMENT, version=abi/5.4.0)
But I pass my tokens addresses correctly
Aug 16, 2021, 10:02 AM
Try putting the addresses in quotes
Aug 16, 2021, 10:10 AM
I try to do it. It didn't help me
Aug 16, 2021, 10:28 AM
yes you did, removing the quote on the amount should fix that.
Aug 16, 2021, 10:29 AM
It shouldn't be in quotes, this is a wierd error
Aug 16, 2021, 10:30 AM
Put it in quotes, why are using square brackets?
Aug 16, 2021, 1:17 PM