HashLockTransactionV1 constructor
HashLockTransactionV1({
- Signature? signature,
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- Amount? fee,
- Timestamp? deadline,
- UnresolvedMosaic? mosaic,
- BlockDuration? duration,
- Hash256? hash,
Implementation
HashLockTransactionV1({
Signature? signature,
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
Amount? fee,
Timestamp? deadline,
UnresolvedMosaic? mosaic,
BlockDuration? duration,
Hash256? hash
}) {
this.signature = signature ?? Signature();
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.version = version ?? HashLockTransactionV1.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.type = type ?? HashLockTransactionV1.TRANSACTION_TYPE;
this.fee = fee ?? Amount();
this.deadline = deadline ?? Timestamp();
this.mosaic = mosaic ?? UnresolvedMosaic();
this.duration = duration ?? BlockDuration();
this.hash = hash ?? Hash256();
}