Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuides
View Mirror World on Github
Join the Discord server

Language:

user

Get the current user object.


_17
const mirrorworld = new MirrorWorld(/* ... */)
_17
const user: UserWithWallet = mirrorworld.user
_17
_17
export 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

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference