EmbeddedSecretProofTransactionV1 constructor
EmbeddedSecretProofTransactionV1({
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- UnresolvedAddress? recipientAddress,
- Hash256? secret,
- LockHashAlgorithm? hashAlgorithm,
- Uint8List? proof,
Implementation
EmbeddedSecretProofTransactionV1({
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
UnresolvedAddress? recipientAddress,
Hash256? secret,
LockHashAlgorithm? hashAlgorithm,
Uint8List? proof
}) {
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.version = version ?? EmbeddedSecretProofTransactionV1.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.type = type ?? EmbeddedSecretProofTransactionV1.TRANSACTION_TYPE;
this.recipientAddress = recipientAddress ?? UnresolvedAddress();
this.secret = secret ?? Hash256();
this.hashAlgorithm = hashAlgorithm ?? LockHashAlgorithm.SHA3_256;
this.proof = proof ?? Uint8List(0);
}