public abstract class TransactionNeo extends Inventory
| 限定符和类型 | 字段和说明 |
|---|---|
TransactionAttribute[] |
attributes |
TransactionInput[] |
inputs |
long |
nonce |
TransactionOutput[] |
outputs |
Program[] |
scripts |
TransactionType |
type |
byte |
version |
| 限定符 | 构造器和说明 |
|---|---|
protected |
TransactionNeo(TransactionType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deserialize(BinaryReader reader) |
protected void |
deserializeExclusiveData(BinaryReader reader) |
static TransactionNeo |
deserializeFrom(BinaryReader reader) |
static TransactionNeo |
deserializeFrom(byte[] value)
反序列化Transaction(static)
|
static TransactionNeo |
deserializeFrom(byte[] value,
int offset) |
void |
deserializeUnsigned(BinaryReader reader) |
boolean |
equals(Object obj) |
Stream<TransactionInput> |
getAllInputs() |
Stream<TransactionOutput> |
getAllOutputs() |
int |
hashCode() |
InventoryType |
inventoryType() |
protected void |
onDeserialized() |
void |
serialize(BinaryWriter writer) |
protected void |
serializeExclusiveData(BinaryWriter writer) |
void |
serializeUnsigned(BinaryWriter writer) |
byte[] |
sign(Account account,
SignatureScheme scheme) |
boolean |
verify() |
getAddressU160ForVerifying, getHashData, verifySignaturefrom, toArray, toHexStringpublic final TransactionType type
public byte version
public long nonce
public TransactionAttribute[] attributes
public TransactionInput[] inputs
public TransactionOutput[] outputs
public Program[] scripts
protected TransactionNeo(TransactionType type)
public 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 static TransactionNeo deserializeFrom(byte[] value) throws IOException
IOExceptionpublic static TransactionNeo deserializeFrom(byte[] value, int offset) throws IOException
IOExceptionpublic static TransactionNeo deserializeFrom(BinaryReader reader) throws IOException
IOExceptionpublic Stream<TransactionInput> getAllInputs()
public Stream<TransactionOutput> getAllOutputs()
public final InventoryType inventoryType()
inventoryType 在类中 Inventoryprotected void onDeserialized()
throws IOException
IOExceptionpublic byte[] sign(Account account, SignatureScheme scheme) throws Exception
ExceptionCopyright © 2022. All rights reserved.