Client Methods | Unity API Reference
This functional module includes some functional methods of the SDK, such as opening a wallet, accessing the marketplace, and initializing the SDK.When calling them, just like the Authentication module, you don't need to worry about the current chain. Simply use MWSDK to make the calls.
MWSDK.InitSDKCall this API to initialize the SDK. While direct calling can successfully initialize the SDK, we still recommend using the method of dragging the prefab into the scene for SDK configuration and initialization. For more details, please refer to the configuration documentation.
MWSDK.OpenWalletOpen the wallet page for the current user. If the user is not logged in, the page cannot be opened.
MWSDK.OpenMarketOpen a specific Marketplace page. If the user is not logged in, the page cannot be opened. You can set up your own Marketplace website and pass its URL as a parameter to the SDK, or you can use our website template to create it.
MWSDK.QueryUserUse this API to query the basic information of any user.
Edit this page on GitHub