NamespaceMetadataTransactionV1 constructor
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,
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);
}