NamespaceRegistrationTransactionV1 constructor
NamespaceRegistrationTransactionV1({})
Implementation
NamespaceRegistrationTransactionV1({
TransactionType? type,
int? version,
NetworkType? network,
Timestamp? timestamp,
PublicKey? signerPublicKey,
Signature? signature,
Amount? fee,
Timestamp? deadline,
Address? rentalFeeSink,
Amount? rentalFee,
Uint8List? name,
Uint8List? parentName
}) {
this.type = type ?? NamespaceRegistrationTransactionV1.TRANSACTION_TYPE;
this.version = version ?? NamespaceRegistrationTransactionV1.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.timestamp = timestamp ?? Timestamp();
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.signature = signature ?? Signature();
this.fee = fee ?? Amount();
this.deadline = deadline ?? Timestamp();
this.rentalFeeSink = rentalFeeSink ?? Address();
this.rentalFee = rentalFee ?? Amount();
this.name = name ?? Uint8List(0);
this.parentName = parentName ?? null;
}