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
there are two function get balance tokens getwbera and getusdc both get balance on diffrent chain
in these function i have switched chain using web3wallet.switchNetwork(chain) shows networkswitched chainid also changed correctly but when query blockchain call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="balanceOf(address)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
but when am using modal open({view: "Network"}) to switch chain balance successfully queried .
Link to minimal reproducible example
https://github.com/chirag9899/walletConnect_Issue
Summary
there are two function get balance tokens getwbera and getusdc both get balance on diffrent chain
in these function i have switched chain using web3wallet.switchNetwork(chain) shows networkswitched chainid also changed correctly but when query blockchain
call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="balanceOf(address)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
but when am using modal open({view: "Network"}) to switch chain balance successfully queried .
List of related npm package versions
"@reown/appkit": "^1.1.6",
"@reown/appkit-adapter-ethers5": "^1.1.6",
The text was updated successfully, but these errors were encountered: