public abstract static class Appendix.AbstractAppendix extends java.lang.Object implements Appendix
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage
Modifier and Type | Method and Description |
---|---|
Fee |
getBaselineFee(Transaction transaction) |
int |
getBaselineFeeHeight() |
int |
getFullSize() |
org.json.simple.JSONObject |
getJSONObject() |
Fee |
getNextFee(Transaction transaction) |
int |
getNextFeeHeight() |
int |
getSize() |
byte |
getVersion() |
boolean |
isPhased(Transaction transaction) |
void |
putBytes(java.nio.ByteBuffer buffer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasAppendix
public final int getFullSize()
getFullSize
in interface Appendix
public final void putBytes(java.nio.ByteBuffer buffer)
public final org.json.simple.JSONObject getJSONObject()
getJSONObject
in interface Appendix
public final byte getVersion()
getVersion
in interface Appendix
public int getBaselineFeeHeight()
getBaselineFeeHeight
in interface Appendix
public Fee getBaselineFee(Transaction transaction)
getBaselineFee
in interface Appendix
public int getNextFeeHeight()
getNextFeeHeight
in interface Appendix
public Fee getNextFee(Transaction transaction)
getNextFee
in interface Appendix
public final boolean isPhased(Transaction transaction)