addAsset

suspend fun addAsset(accountId: Int, assetId: String): Result<AddressDetails>

Add an asset to a specific account.

Return

A Result containing an AddressDetails if the asset was successfully added, or an EmbeddedWalletException in case of failure.

Parameters

accountId

The ID of the account.

assetId

The ID of the asset.