Class NamespaceRegistrationTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
- 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.
-
Constructor Summary
ConstructorsConstructorDescriptionNamespaceRegistrationTransactionV1Descriptor(NamespaceId id, NamespaceRegistrationType registrationType, BlockDuration duration, NamespaceId parentId, byte[] name) Creates a descriptor for NamespaceRegistrationTransactionV1. -
Method Summary
-
Constructor Details
-
NamespaceRegistrationTransactionV1Descriptor
public NamespaceRegistrationTransactionV1Descriptor(NamespaceId id, NamespaceRegistrationType registrationType, BlockDuration duration, NamespaceId parentId, byte[] name) Creates a descriptor for NamespaceRegistrationTransactionV1.- Parameters:
id- Namespace identifier.registrationType- Namespace registration type.duration- Number of confirmed blocks you would like to rent the namespace for. Required for root namespaces. (field is omitted when null)parentId- Parent namespace identifier. Required for sub-namespaces. (field is omitted when null)name- Namespace name. (field is omitted when null)
-
-
Method Details
-
toMap
- NamespaceRegistrationTransactionV1Descriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
Descriptor map that can be passed to a transaction factory.
-