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