NamespaceRegistrationTransactionV1Descriptor⚓︎
- NamespaceRegistrationTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for NamespaceRegistrationTransactionV1Descriptor.
binary layout for a namespace registration transaction (V1, latest)
Constructors⚓︎
new NamespaceRegistrationTransactionV1Descriptor()⚓︎
new NamespaceRegistrationTransactionV1Descriptor(
rentalFeeSink,
rentalFee,
name?,
parentName?): NamespaceRegistrationTransactionV1Descriptor
Creates a descriptor for NamespaceRegistrationTransactionV1.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
rentalFeeSink |
Address |
mosaic rental fee sink public key |
rentalFee |
Amount |
mosaic rental fee |
name? |
string | Uint8Array<ArrayBufferLike> |
new namespace name |
parentName? |
string | Uint8Array<ArrayBufferLike> |
parent namespace name |
Returns⚓︎
NamespaceRegistrationTransactionV1Descriptor
Properties⚓︎
| Property | Type |
|---|---|
rawDescriptor |
object |
rawDescriptor.rentalFee |
Amount |
rawDescriptor.rentalFeeSink |
Address |
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.