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

Language:

getTokens

Allow users to check their tokens in their wallet.


MWSDK.SUI.Wallet.getTokens { response in
let res = response?.replacingOccurrences(of: " ", with: "").replacingOccurrences(of: "\n", with: "")
print("Get wallet tokens:\(res ?? "null")")
} onFailed: {code, error in
print("Get wallet tokens: failed")
}

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog