getPrimaryName

abstract suspend fun getPrimaryName(address: AccountAddressInput): Option<String>

Retrieve the primary name for an account. An account can have multiple names that target it, but only a single name that is primary. An account also may not have a primary name.

Parameters

address
  • A AccountAddressInput (address) of the account