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

Language:

GetTokens

Get tokens on SUI of current user.

Parameters

action|Action<CommonResponse<SUIResGetTokens>> - The callback function of this method is used to receive the results.

Return

response class - CommonResponse<SUIResGetTokens>

Code Example


MWSDK.SUI.Wallet.GetTokens((res) =>
{
CommonResponse<SUIResGetTokens> resObj = res;
string message = resObj.message;
SUIResGetTokens data = resObj.data;
PrintLog("Get tokens result:" + JsonUtility.ToJson(res));
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog