コンテンツにスキップ

AddressAliasTransactionV1Descriptor⚓︎

AddressAliasTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for AddressAliasTransactionV1Descriptor.

Attach or detach a namespace (alias) to an account address (V1, latest). A namespace can be assigned to any account present in the network (this is, an account which has received at least one transaction).

Constructors⚓︎

new AddressAliasTransactionV1Descriptor()⚓︎

new AddressAliasTransactionV1Descriptor(
   namespaceId, 
   address, 
   aliasAction): AddressAliasTransactionV1Descriptor

Creates a descriptor for AddressAliasTransactionV1.

Parameters⚓︎

Parameter Type Description
namespaceId NamespaceId Identifier of the namespace that will become (or stop being) an alias for the address.
address Address Aliased address.
aliasAction AliasAction Alias action.

Returns⚓︎

AddressAliasTransactionV1Descriptor

Properties⚓︎

Property Type
rawDescriptor object
rawDescriptor.address Address
rawDescriptor.aliasAction AliasAction
rawDescriptor.namespaceId NamespaceId
rawDescriptor.type string

Methods⚓︎

toMap()⚓︎

toMap(): object

AddressAliasTransactionV1Descriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.

Returns⚓︎

object

Descriptor that can be passed to a factory function.