EmbeddedAccountMetadataTransactionV1 constructor

EmbeddedAccountMetadataTransactionV1({
  1. PublicKey? signerPublicKey,
  2. int? version,
  3. NetworkType? network,
  4. TransactionType? type,
  5. UnresolvedAddress? targetAddress,
  6. BigInt? scopedMetadataKey,
  7. int? valueSizeDelta,
  8. 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);
}