Wallet API
Asset Management

Asset Management#

This section introduces the API interfaces related to wallet asset management, including adding assets to the wallet, obtaining the balance of corresponding assets, viewing total assets, and deleting assets that are no longer of interest.

With a user wallet, you can customize and manage your asset holdings.

With a watch-only wallet, you cannot customize management but can only obtain and view the asset holdings currently supported by WaaS.

You can flexibly use these functions according to your development needs.

Add Token
Add specified token assets to the wallet
Get User Wallet Token Balances
Query the balances of added tokens under the user wallet
Get Watch-Only Wallet Token Balances
Query the balances of added tokens under the watch-only wallet
Get Specified Token Balance
Query the total balance of a specified token under the user wallet or watch-only wallet
Get Total Token Value
Get the total balance of token assets
Delete Token
Delete tokens that do not need to be included in the asset query
Query Token List
Query tokens that have been added to the user's wallet