public abstract class Transaction extends Inventory
| 限定符和类型 | 字段和说明 |
|---|---|
Attribute[] |
attributes |
long |
gasLimit |
long |
gasPrice |
int |
nonce |
Address |
payer |
Sig[] |
sigs |
TransactionType |
txType |
byte |
version |
| 限定符 | 构造器和说明 |
|---|---|
protected |
Transaction(TransactionType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deserialize(BinaryReader reader) |
protected void |
deserializeExclusiveData(BinaryReader reader) |
static Transaction |
deserializeFrom(BinaryReader reader) |
static Transaction |
deserializeFrom(byte[] value) |
static Transaction |
deserializeFrom(byte[] value,
int offset) |
void |
deserializeUnsigned(BinaryReader reader) |
boolean |
equals(Object obj) |
Address[] |
getAddressU160ForVerifying() |
int |
hashCode() |
InventoryType |
inventoryType() |
Object |
json() |
void |
serialize(BinaryWriter writer) |
protected void |
serializeExclusiveData(BinaryWriter writer) |
void |
serializeUnsigned(BinaryWriter writer) |
boolean |
verify() |
getHashData, sign, verifySignaturefrom, toArray, toHexStringpublic byte version
public TransactionType txType
public int nonce
public long gasPrice
public long gasLimit
public Address payer
public Attribute[] attributes
public Sig[] sigs
protected Transaction(TransactionType type)
public static Transaction deserializeFrom(byte[] value) throws IOException
IOExceptionpublic static Transaction deserializeFrom(byte[] value, int offset) throws IOException
IOExceptionpublic static Transaction deserializeFrom(BinaryReader reader) throws IOException
IOExceptionpublic void deserialize(BinaryReader reader) throws IOException
IOExceptionpublic void deserializeUnsigned(BinaryReader reader) throws IOException
IOExceptionprotected void deserializeExclusiveData(BinaryReader reader) throws IOException
IOExceptionpublic void serialize(BinaryWriter writer) throws IOException
IOExceptionpublic void serializeUnsigned(BinaryWriter writer) throws IOException
IOExceptionprotected void serializeExclusiveData(BinaryWriter writer) throws IOException
IOExceptionpublic Address[] getAddressU160ForVerifying()
public final InventoryType inventoryType()
inventoryType 在类中 Inventorypublic Object json()
Copyright © 2021. All rights reserved.