public class Transaction
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
Transaction.Builder |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Transaction> |
CREATOR |
static java.math.BigInteger |
VALUE_MUL |
static java.math.BigDecimal |
VALUE_MUL_DEC |
| Modifier | Constructor and Description |
|---|---|
protected |
Transaction() |
protected |
Transaction(java.math.BigInteger nonce) |
protected |
Transaction(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static <Op extends Operation> |
fromEncoded(java.lang.String hexEncoded,
java.lang.Class<Op> type)
Decodes raw hex-encoded transaction
|
<Op extends Operation> |
getData() |
java.lang.String |
getGasCoin() |
java.math.BigInteger |
getGasPrice() |
java.math.BigInteger |
getNonce() |
OperationType |
getType() |
TransactionSign |
sign(PrivateKey privateKey) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.math.BigInteger VALUE_MUL
public static final java.math.BigDecimal VALUE_MUL_DEC
public static final android.os.Parcelable.Creator<Transaction> CREATOR
protected Transaction(java.math.BigInteger nonce)
protected Transaction()
protected Transaction(android.os.Parcel in)
public static <Op extends Operation> Transaction fromEncoded(java.lang.String hexEncoded, java.lang.Class<Op> type)
Op - Operation typehexEncoded - transaction in hex stringtype - Operation classpublic java.math.BigInteger getNonce()
public java.math.BigInteger getGasPrice()
public OperationType getType()
public TransactionSign sign(PrivateKey privateKey)
public <Op extends Operation> Op getData()
public java.lang.String getGasCoin()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable