q9f / eth.rb

a straightforward library to build, sign, and broadcast ethereum transactions anywhere you can run ruby.
https://q9f.github.io/eth.rb
Apache License 2.0
196 stars 85 forks source link

I can't pass an array of addresses to the smart contract. #249

Closed 0x64696d61 closed 9 months ago

0x64696d61 commented 9 months ago

(byebug) path = [token0.address, token1.address] ["0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8"] (byebug) chain.client.call(router, 'getAmountsIn', path) *** ArgumentError Exception: Don't know how to handle this input.

Am I doing something wrong?