public class Transaction
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
data |
byte[] |
dstID |
byte[] |
hash |
long |
nonce |
byte[] |
srcID |
int |
timestamp |
int |
type |
| 构造器和说明 |
|---|
Transaction() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Transaction |
fromBytes(byte[] bytes) |
byte[] |
getTransactionHash() |
byte[] |
toByteArray() |
byte[] |
toHashByteArray() |
java.lang.String |
toJson() |
public byte[] srcID
public byte[] dstID
public long nonce
public int type
public byte[] data
public int timestamp
public byte[] hash
public static Transaction fromBytes(byte[] bytes)
public byte[] getTransactionHash()
public java.lang.String toJson()
public byte[] toByteArray()
public byte[] toHashByteArray()