NamespaceMetadataTransactionV1 constructor

NamespaceMetadataTransactionV1({
  1. Signature? signature,
  2. PublicKey? signerPublicKey,
  3. int? version,
  4. NetworkType? network,
  5. TransactionType? type,
  6. Amount? fee,
  7. Timestamp? deadline,
  8. UnresolvedAddress? targetAddress,
  9. BigInt? scopedMetadataKey,
  10. NamespaceId? targetNamespaceId,
  11. int? valueSizeDelta,
  12. Uint8List? value,
})

Implementation

NamespaceMetadataTransactionV1({
Signature? signature,
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
Amount? fee,
Timestamp? deadline,
UnresolvedAddress? targetAddress,
BigInt? scopedMetadataKey,
NamespaceId? targetNamespaceId,
int? valueSizeDelta,
Uint8List? value
}) {
	this.signature = signature ?? Signature();
	this.signerPublicKey = signerPublicKey ?? PublicKey();
	this.version = version ?? NamespaceMetadataTransactionV1.TRANSACTION_VERSION;
	this.network = network ?? NetworkType.MAINNET;
	this.type = type ?? NamespaceMetadataTransactionV1.TRANSACTION_TYPE;
	this.fee = fee ?? Amount();
	this.deadline = deadline ?? Timestamp();
	this.targetAddress = targetAddress ?? UnresolvedAddress();
	this.scopedMetadataKey = scopedMetadataKey ?? BigInt.from(0);
	this.targetNamespaceId = targetNamespaceId ?? NamespaceId();
	this.valueSizeDelta = valueSizeDelta ?? 0;
	this.value = value ?? Uint8List(0);
}