NamespaceRegistrationTransactionV1Descriptor⚓︎
- NamespaceRegistrationTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for NamespaceRegistrationTransactionV1Descriptor.
Register (or renew a registration for) a namespace (V1, latest). Namespaces help keep assets organized.
Constructors⚓︎
new NamespaceRegistrationTransactionV1Descriptor()⚓︎
new NamespaceRegistrationTransactionV1Descriptor(
id,
registrationType,
duration?,
parentId?,
name?): NamespaceRegistrationTransactionV1Descriptor
Creates a descriptor for NamespaceRegistrationTransactionV1.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
id |
NamespaceId |
Namespace identifier. |
registrationType |
NamespaceRegistrationType |
Namespace registration type. |
duration? |
BlockDuration |
Number of confirmed blocks you would like to rent the namespace for. Required for root namespaces. |
parentId? |
NamespaceId |
Parent namespace identifier. Required for sub-namespaces. |
name? |
string | Uint8Array<ArrayBufferLike> |
Namespace name. |
Returns⚓︎
NamespaceRegistrationTransactionV1Descriptor
Properties⚓︎
| Property | Type |
|---|---|
rawDescriptor |
object |
rawDescriptor.id |
NamespaceId |
rawDescriptor.registrationType |
NamespaceRegistrationType |
rawDescriptor.type |
string |
Methods⚓︎
toMap()⚓︎
- NamespaceRegistrationTransactionV1Descriptor.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.