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

Language:

QueryUser

Fetches the current user's object.

Parameters

userEmail|string - The email address which you want to query.

action|Action - To receive the response.

Returns

There is no response.

Code Example


string userEmail = "A user's email address";
MWSDK.QueryUser(userEmail, (res) => {
CommonResponse<UserResponse> resObj = res;
string userName = resObj.data.username;
string solAddress = resObj.data.wallet.sol_address;
//todo...
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog