transferDigitalAssetTransaction

abstract suspend fun transferDigitalAssetTransaction(sender: Account, digitalAssetAddress: AccountAddressInput, recipient: AccountAddressInput, digitalAssetType: MoveStructId = "0x4::token::Token", options: InputGenerateTransactionOptions = InputGenerateTransactionOptions()): SimpleTransaction

Transfer a digital asset (non-fungible digital asset) ownership.

We can transfer a digital asset only when the digital asset is not frozen (i.e. owner transfer is not disabled such as for soul bound digital assets)

Parameters

sender

The sender account of the current digital asset owner

digitalAssetAddress

The digital asset address

recipient

The recipient account address

digitalAssetType

optional. The digital asset type, default to "0x4::token::Token"