EmbeddedAccountMetadataTransactionV1 constructor
EmbeddedAccountMetadataTransactionV1({
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- UnresolvedAddress? targetAddress,
- BigInt? scopedMetadataKey,
- int? valueSizeDelta,
- Uint8List? value,
Implementation
EmbeddedAccountMetadataTransactionV1({
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
UnresolvedAddress? targetAddress,
BigInt? scopedMetadataKey,
int? valueSizeDelta,
Uint8List? value
}) {
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.version = version ?? EmbeddedAccountMetadataTransactionV1.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.type = type ?? EmbeddedAccountMetadataTransactionV1.TRANSACTION_TYPE;
this.targetAddress = targetAddress ?? UnresolvedAddress();
this.scopedMetadataKey = scopedMetadataKey ?? BigInt.from(0);
this.valueSizeDelta = valueSizeDelta ?? 0;
this.value = value ?? Uint8List(0);
}