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

Language:

user

Get the current user object.


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

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog