public final class TxUnbound extends Operation
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<TxUnbound> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
protected |
TxUnbound(android.os.Parcel in) |
|
TxUnbound(Transaction rawTx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodeRLP(byte[] rlpEncodedData)
Decode data from encoded RLP
|
protected byte[] |
encodeRLP()
Encodes all create fields via RLP
|
java.lang.String |
getCoin() |
PublicKey |
getPublicKey() |
OperationType |
getType() |
java.math.BigDecimal |
getValue() |
java.math.BigInteger |
getValueBigInteger() |
TxUnbound |
setCoin(java.lang.String coinName) |
TxUnbound |
setPublicKey(byte[] publicKey) |
TxUnbound |
setPublicKey(PublicKey publicKey) |
TxUnbound |
setValue(java.math.BigDecimal stakeDecimal) |
TxUnbound |
setValue(java.math.BigInteger stakeBigInteger) |
TxUnbound |
setValue(java.lang.String stakeBigInteger) |
protected FieldsValidationResult |
validate() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
build, describeContents, getTxfromRawRlp, fromRawRlp, objArrToByteArrArrpublic static final android.os.Parcelable.Creator<TxUnbound> CREATOR
public TxUnbound(Transaction rawTx)
protected TxUnbound(android.os.Parcel in)
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class Operationpublic PublicKey getPublicKey()
public TxUnbound setPublicKey(byte[] publicKey)
public TxUnbound setPublicKey(PublicKey publicKey)
public java.lang.String getCoin()
public TxUnbound setCoin(java.lang.String coinName)
public java.math.BigInteger getValueBigInteger()
public java.math.BigDecimal getValue()
public TxUnbound setValue(java.math.BigDecimal stakeDecimal)
public TxUnbound setValue(java.math.BigInteger stakeBigInteger)
public TxUnbound setValue(java.lang.String stakeBigInteger)
public OperationType getType()
protected FieldsValidationResult validate()
protected byte[] encodeRLP()
RLPSerializableencodeRLP in class RLPSerializableRLPprotected void decodeRLP(byte[] rlpEncodedData)
RLPSerializabledecodeRLP in class RLPSerializable