public abstract class TransactionImpl extends java.lang.Object implements Transaction
| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionImpl.BuilderImpl |
Transaction.Builderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChain, getFee, getSignature, isPhasedpublic short getDeadline()
getDeadline in interface Transactionpublic byte[] getSenderPublicKey()
getSenderPublicKey in interface Transactionpublic long getRecipientId()
getRecipientId in interface Transactionpublic long getAmount()
getAmount in interface Transactionpublic int getHeight()
getHeight in interface Transactionpublic TransactionType getType()
getType in interface Transactionpublic byte getVersion()
getVersion in interface Transactionpublic long getBlockId()
getBlockId in interface Transactionpublic BlockImpl getBlock()
getBlock in interface Transactionpublic short getIndex()
getIndex in interface Transactionpublic int getTimestamp()
getTimestamp in interface Transactionpublic int getBlockTimestamp()
getBlockTimestamp in interface Transactionpublic int getExpiration()
getExpiration in interface Transactionpublic PrunablePlainMessageAppendix getPrunablePlainMessage()
getPrunablePlainMessage in interface Transactionpublic PrunableEncryptedMessageAppendix getPrunableEncryptedMessage()
getPrunableEncryptedMessage in interface Transactionpublic Attachment.AbstractAttachment getAttachment()
getAttachment in interface Transactionpublic java.util.List<Appendix.AbstractAppendix> getAppendages()
getAppendages in interface Transactionpublic java.util.List<Appendix.AbstractAppendix> getAppendages(boolean includeExpiredPrunable)
getAppendages in interface Transactionpublic java.util.List<Appendix> getAppendages(Filter<Appendix> filter, boolean includeExpiredPrunable)
getAppendages in interface Transactionpublic final long getId()
getId in interface AccountLedger.LedgerEventIdgetId in interface Transactionpublic final java.lang.String getStringId()
getStringId in interface Transactionpublic final byte[] getFullHash()
getFullHash in interface AccountLedger.LedgerEventIdgetFullHash in interface Transactionpublic final long getSenderId()
getSenderId in interface Transactionpublic final byte[] getBytes()
getBytes in interface Transactionpublic final byte[] getPrunableBytes()
getPrunableBytes in interface Transactionpublic final byte[] bytes()
public final byte[] prunableBytes()
public final byte[] getUnsignedBytes()
getUnsignedBytes in interface Transactionpublic org.json.simple.JSONObject getJSONObject()
getJSONObject in interface Transactionpublic org.json.simple.JSONObject getPrunableAttachmentJSON()
getPrunableAttachmentJSON in interface Transactionpublic int getECBlockHeight()
getECBlockHeight in interface Transactionpublic long getECBlockId()
getECBlockId in interface Transactionpublic boolean verifySignature()
verifySignature in interface Transactionpublic final int getFullSize()
getFullSize in interface Transactionpublic void validate()
throws NxtException.ValidationException
validate in interface TransactionNxtException.ValidationExceptionpublic final long getMinimumFeeFQT()
getMinimumFeeFQT in interface Transactionpublic abstract boolean attachmentIsPhased()
public final boolean attachmentIsDuplicate(java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates, boolean atAcceptanceHeight)
public static TransactionImpl parseTransaction(byte[] transactionBytes) throws NxtException.NotValidException
NxtException.NotValidExceptionpublic static TransactionImpl parseTransaction(byte[] transactionBytes, org.json.simple.JSONObject prunableAttachments) throws NxtException.NotValidException
NxtException.NotValidExceptionpublic static TransactionImpl.BuilderImpl newTransactionBuilder(byte[] bytes) throws NxtException.NotValidException
NxtException.NotValidExceptionpublic static TransactionImpl.BuilderImpl newTransactionBuilder(byte[] bytes, org.json.simple.JSONObject prunableAttachments) throws NxtException.NotValidException
NxtException.NotValidExceptionpublic static TransactionImpl.BuilderImpl newTransactionBuilder(org.json.simple.JSONObject transactionData) throws NxtException.NotValidException
NxtException.NotValidException