fetchUser
Fetches the current user's object.
const user = await mirrorworld.fetchUser()// Returns UserWithWallet objectexport interface UserWithWallet { id: number; eth_address: string; sol_address: string; email: string; email_verified: boolean; username: string; createdAt: string; updatedAt: string; wallet: { eth_address: string; sol_address: string; };}
Edit this page on GitHub