ethereum-boilerplate / ethereum-react-native-boilerplate

The ultimate full-stack Ethereum React Native Dapp Boilerplate which gives you maximum flexibility and speed. Feel free to fork and contribute. Although this repo is called "Ethereum Boilerplate" it works with any EVM system! Happy BUIDL!👷‍♂️
MIT License
543 stars 285 forks source link

Error in getting Token Price #36

Closed bergmedia3 closed 2 years ago

bergmedia3 commented 2 years ago

I am trying to get the token price from useTokenPrice hook but its giving me this error Error: Fetch Price error {"code": 141, "error": "Invalid function: \"getTokenPrice\""}

abdulmalik97 commented 2 years ago

Did you make sure to initialise Morlais by adding the server URL and app id in the .env file?

Also, if you want more elaborate help, please head on to the forum link - https://forum.moralis.io/t/ethereum-react-native-boilerplate-questions/4511/107