public class Transaction extends STObject
STObject.FieldFilter, STObject.FieldsMap, STObject.FormatException, STObject.Translator, STObject.Translators| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
CANONICAL_FLAG_DEPLOYED |
static UInt32 |
CANONICAL_SIGNATURE |
CreatedNode, DeletedNode, fields, FinalFields, format, ModifiedNode, NewFields, PreviousFields, Signer, SignerEntry, TemplateEntry, TransactionMetaData, translate| 构造器和说明 |
|---|
Transaction(TransactionType type) |
Transaction(TransactionType type,
Boolean guomi) |
| 限定符和类型 | 方法和说明 |
|---|---|
AccountID |
account() |
void |
account(AccountID val) |
Hash256 |
accountTxnID() |
void |
accountTxnID(Hash256 val) |
void |
addMemo(List<String> memos)
添加备注信息
|
Amount |
fee() |
void |
fee(Amount val) |
UInt32 |
flags() |
void |
flags(UInt32 val) |
Boolean |
getGuomi() |
Hash256 |
hash() |
UInt32 |
lastLedgerSequence() |
void |
lastLedgerSequence(UInt32 val) |
void |
memos(STArray val) |
UInt32 |
operationLimit() |
void |
operationLimit(UInt32 val) |
void |
platform(AccountID val) |
Hash256 |
previousTxnID() |
void |
previousTxnID(Hash256 val) |
UInt32 |
sequence() |
void |
sequence(UInt32 val) |
void |
setCanonicalSignatureFlag() |
SignedTransaction |
sign(com.jccdex.core.crypto.ecdsa.IKeyPair keyPair) |
SignedTransaction |
sign(String secret) |
byte[] |
signingData() |
Hash256 |
signingHash() |
AccountID |
signingKey() |
Blob |
signingPubKey() |
void |
signingPubKey(Blob val) |
UInt32 |
sourceTag() |
void |
sourceTag(UInt32 val) |
TransactionType |
transactionType() |
void |
transactionType(UInt16 val) |
Blob |
txnSignature() |
void |
txnSignature(Blob val) |
as, checkFormat, engineResult, formatted, fromHex, fromJSON, fromJSONObject, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getFields, getFormat, has, has, iterator, ledgerEntryType, prettyJSON, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putTranslated, putTranslated, remove, setFormat, size, stobjectField, toBytes, toBytesSink, toBytesSink, toHex, toJSON, toJSONObject, transactionType, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final boolean CANONICAL_FLAG_DEPLOYED
public static final UInt32 CANONICAL_SIGNATURE
public Transaction(TransactionType type)
public Transaction(TransactionType type, Boolean guomi)
public SignedTransaction sign(String secret)
public SignedTransaction sign(com.jccdex.core.crypto.ecdsa.IKeyPair keyPair)
public TransactionType transactionType()
public Hash256 signingHash()
public byte[] signingData()
public Boolean getGuomi()
public void setCanonicalSignatureFlag()
public UInt32 flags()
public UInt32 sourceTag()
public UInt32 sequence()
public UInt32 lastLedgerSequence()
public UInt32 operationLimit()
public Hash256 previousTxnID()
public Hash256 accountTxnID()
public Amount fee()
public Blob signingPubKey()
public Blob txnSignature()
public AccountID account()
public void transactionType(UInt16 val)
public void flags(UInt32 val)
public void sourceTag(UInt32 val)
public void sequence(UInt32 val)
public void lastLedgerSequence(UInt32 val)
public void operationLimit(UInt32 val)
public void previousTxnID(Hash256 val)
public void accountTxnID(Hash256 val)
public void fee(Amount val)
public void signingPubKey(Blob val)
public void txnSignature(Blob val)
public void account(AccountID val)
public void platform(AccountID val)
public void memos(STArray val)
public Hash256 hash()
public AccountID signingKey()
Copyright © 2021. All rights reserved.