You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having difficulties swapping on Base Mainnet. I tried on Eth, Bsc and Avax chains with successful results but I can't make it work on Base. Here is the error:
I'm having difficulties swapping on Base Mainnet. I tried on Eth, Bsc and Avax chains with successful results but I can't make it work on Base. Here is the error:
Fatal error: Uncaught RuntimeException: execution reverted in /home/tradesys/vendor/web3p/web3.php/src/Providers/HttpProvider.php:198 Stack trace: #0 /home/tradesys/vendor/web3p/web3.php/src/Providers/HttpProvider.php(83): Web3\Providers\HttpProvider->sendPayload('{"id":645346134...', Object(Closure)) #1 /home/tradesys/vendor/web3p/web3.php/src/Eth.php(105): Web3\Providers\HttpProvider->send(Object(Web3\Methods\Eth\Call), Object(Closure)) #2 /home/tradesys/vendor/web3p/web3.php/src/Contract.php(667): Web3\Eth->__call('call', Array) #3 /home/tradesys/public_html/trading/test_swaptoken.php(118): Web3\Contract->call('getAmountsOut', Object(phpseclib\Math\BigInteger), Array, Array, Object(Closure)) #4 /home/tradesys/public_html/trading/test_swaptoken.php(147): getUniV2AmountsOut(Object(Web3\Contract), Object(phpseclib\Math\BigInteger), Array, Array) #5 {main} thrown in /home/tradesys/vendor/web3p/web3.php/src/Providers/HttpProvider.php on line 198
The getAmountsOut method is present in the Json file.
Thanks!
-Dan
The text was updated successfully, but these errors were encountered: