public static class Appendix.Message extends Appendix.AbstractAppendix
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
Constructor and Description |
---|
Message(byte[] message) |
Message(byte[] message,
boolean isText) |
Message(java.lang.String string) |
Message(java.lang.String string,
boolean isText) |
Modifier and Type | Method and Description |
---|---|
Fee |
getBaselineFee(Transaction transaction) |
byte[] |
getMessage() |
Fee |
getNextFee(Transaction transaction) |
boolean |
isText() |
getBaselineFeeHeight, getFullSize, getJSONObject, getNextFeeHeight, getSize, getVersion, isPhased, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasAppendix
public Message(byte[] message)
public Message(java.lang.String string)
public Message(java.lang.String string, boolean isText)
public Message(byte[] message, boolean isText)
public Fee getBaselineFee(Transaction transaction)
getBaselineFee
in interface Appendix
getBaselineFee
in class Appendix.AbstractAppendix
public Fee getNextFee(Transaction transaction)
getNextFee
in interface Appendix
getNextFee
in class Appendix.AbstractAppendix
public byte[] getMessage()
public boolean isText()