Hi! I’m looking for the complete list of call-able useMoralis()
functions. I’m working in react-moralis so I’ve gone through the code on GitHub and dug up:
Moralis: Moralis;
isInitialized: boolean;
authenticate: (options?: AuthenticateOptions) => Promise<void>;
logout: () => Promise<void>;
signup: Signup;
login: Login;
auth: Authentication;
authError: Error | null;
isAuthenticated: boolean;
isUnauthenticated: boolean;
isAuthenticating: boolean;
hasAuthError: boolean;
isLoggingOut: boolean;
isAuthUndefined: boolean;
setUserData: (data: SetUserData) => Promise<void>;
user: Moralis.User | null;
userError: null | Error;
isUserUpdating: boolean;
enableWeb3: () => void;
web3: Moralis.Web3 | null;
isWeb3Enabled: boolean;
web3EnableError: Error | null;
isWeb3EnableLoading: boolean;
Which is a good start and I’ve all my log-in/authenticate functions working. But there’s a TON of cloud functions missing. I can’t find a list or reference to things like what should be here, but are missing.
I’ve been searching for days and can’t find just a simple example of how to get the current user’s eth balance with useMoralis()…that actually works. I know it’s possible because I’m surrounded by a circus of working Moralis aps people are asking far more advanced questions about.
I just need to see an example of a working (ReactJS) component structure and a current list of available default cloud functions and I’ll be on my way. I can’t seem get off the ground without it.
Can somebody help?