set Target Address
open suspend override fun setTargetAddress(sender: AccountAddress, name: String, address: AccountAddressInput, options: InputGenerateTransactionOptions): SimpleTransaction
Sets the target address of a domain or subdomain name. This is the address the name points to for use on chain. Note, the target address can point to addresses that are not the owner of the name
Parameters
sender
The sender of the transaction
name
A string of the name: test.aptos.apt, test.apt, test, test.aptos, etc.
address
A AccountAddressInput of the address to set the domain or subdomain to
options
An optional InputGenerateTransactionOptions to configure the transaction