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
Hi guys, I'm using the function useContract to access the functions of the smart contract. When I make calls to non-pure functions / view it works without problems, but when I want to use the `` totalSupplyfunction it gives me this errorCALL_EXCEPTION```. I tried to use the useContractRead hook but I get the same error. any suggestions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys, I'm using the function
useContract
to access the functions of the smart contract. When I make calls to non-pure functions / view it works without problems, but when I want to use the `` totalSupplyfunction it gives me this error
CALL_EXCEPTION```. I tried to use the useContractRead hook but I get the same error. any suggestions?Beta Was this translation helpful? Give feedback.
All reactions