public class SecretProofTransactionFactory extends TransactionFactory<SecretProofTransaction>
SecretProofTransaction
Modifier and Type | Method and Description |
---|---|
SecretProofTransaction |
build() |
static SecretProofTransactionFactory |
create(NetworkType networkType,
Deadline deadline,
LockHashAlgorithm hashType,
UnresolvedAddress recipient,
java.lang.String secret,
java.lang.String proof)
Static create method for factory.
|
LockHashAlgorithm |
getHashType()
Returns the hash algorithm secret is generated with.
|
java.lang.String |
getProof()
Returns proof.
|
UnresolvedAddress |
getRecipient() |
java.lang.String |
getSecret()
Returns the proof hashed.
|
calculateMaxFeeFromMultiplier, deadline, getDeadline, getGroup, getMaxFee, getNetworkType, getProvidedSize, getSignature, getSigner, getSize, getTransactionInfo, getType, getVersion, group, maxFee, signature, signer, size, transactionInfo, version
public static SecretProofTransactionFactory create(NetworkType networkType, Deadline deadline, LockHashAlgorithm hashType, UnresolvedAddress recipient, java.lang.String secret, java.lang.String proof)
networkType
- Network type.deadline
- deadlinehashType
- Hash algorithm secret is generated with.recipient
- Recipient address.secret
- Seed proof hashed.proof
- Seed proofpublic LockHashAlgorithm getHashType()
public java.lang.String getSecret()
public java.lang.String getProof()
public UnresolvedAddress getRecipient()
public SecretProofTransaction build()
build
in class TransactionFactory<SecretProofTransaction>