public class VotingKeyLinkTransactionFactory extends TransactionFactory<VotingKeyLinkTransaction>
Modifier and Type | Method and Description |
---|---|
VotingKeyLinkTransaction |
build() |
static VotingKeyLinkTransactionFactory |
create(NetworkType networkType,
Deadline deadline,
PublicKey linkedPublicKey,
long startEpoch,
long endEpoch,
LinkAction linkAction)
Create method factory for
VotingKeyLinkTransactionFactory |
long |
getEndEpoch() |
LinkAction |
getLinkAction() |
PublicKey |
getLinkedPublicKey() |
long |
getStartEpoch() |
calculateMaxFeeFromMultiplier, deadline, getDeadline, getGroup, getMaxFee, getNetworkType, getProvidedSize, getSignature, getSigner, getSize, getTransactionInfo, getType, getVersion, group, maxFee, signature, signer, size, transactionInfo, version
public static VotingKeyLinkTransactionFactory create(NetworkType networkType, Deadline deadline, PublicKey linkedPublicKey, long startEpoch, long endEpoch, LinkAction linkAction)
VotingKeyLinkTransactionFactory
networkType
- the network type of this transaction.deadline
- the deadline.linkedPublicKey
- the voting key.startEpoch
- Start finalization epoch.endEpoch
- End finalization epoch.linkAction
- the link action.VotingKeyLinkTransactionFactory
public VotingKeyLinkTransaction build()
build
in class TransactionFactory<VotingKeyLinkTransaction>
public PublicKey getLinkedPublicKey()
public LinkAction getLinkAction()
public long getStartEpoch()
public long getEndEpoch()