public static interface XchainOuterClass.TxDataOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
XchainOuterClass.TxDataAccount |
getAccount(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
int |
getAccountCount()
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
List<XchainOuterClass.TxDataAccount> |
getAccountList()
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
String |
getBcname()
Block name
optional string bcname = 2; |
com.google.protobuf.ByteString |
getBcnameBytes()
Block name
optional string bcname = 2; |
com.google.protobuf.ByteString |
getDesc()
optional bytes desc = 12; |
String |
getFromAddr()
Account which start the transaction
optional string from_addr = 3; |
com.google.protobuf.ByteString |
getFromAddrBytes()
Account which start the transaction
optional string from_addr = 3; |
String |
getFromPubkey()
The pk of the account which start the transaction
optional string from_pubkey = 4; |
com.google.protobuf.ByteString |
getFromPubkeyBytes()
The pk of the account which start the transaction
optional string from_pubkey = 4; |
String |
getFromScrkey()
The sk of the account which start the transaction
optional string from_scrkey = 5; |
com.google.protobuf.ByteString |
getFromScrkeyBytes()
The sk of the account which start the transaction
optional string from_scrkey = 5; |
XchainOuterClass.Header |
getHeader()
optional .pb.Header header = 13; |
String |
getNonce()
Random number used to avoid replay attacks
optional string nonce = 8; |
com.google.protobuf.ByteString |
getNonceBytes()
Random number used to avoid replay attacks
optional string nonce = 8; |
long |
getTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9; |
com.google.protobuf.ByteString |
getTxid()
Transaction id
optional bytes txid = 1; |
com.google.protobuf.ByteString |
getUserSign()
if user don't want to provide scrkey, he should sign the txdata into
user_sign
optional bytes user_sign = 14; |
int |
getVersion()
tx version
optional int32 version = 15; |
boolean |
hasHeader()
optional .pb.Header header = 13; |
boolean hasHeader()
optional .pb.Header header = 13;XchainOuterClass.Header getHeader()
optional .pb.Header header = 13;com.google.protobuf.ByteString getTxid()
Transaction id
optional bytes txid = 1;String getBcname()
Block name
optional string bcname = 2;com.google.protobuf.ByteString getBcnameBytes()
Block name
optional string bcname = 2;String getFromAddr()
Account which start the transaction
optional string from_addr = 3;com.google.protobuf.ByteString getFromAddrBytes()
Account which start the transaction
optional string from_addr = 3;String getFromPubkey()
The pk of the account which start the transaction
optional string from_pubkey = 4;com.google.protobuf.ByteString getFromPubkeyBytes()
The pk of the account which start the transaction
optional string from_pubkey = 4;String getFromScrkey()
The sk of the account which start the transaction
optional string from_scrkey = 5;com.google.protobuf.ByteString getFromScrkeyBytes()
The sk of the account which start the transaction
optional string from_scrkey = 5;com.google.protobuf.ByteString getUserSign()
if user don't want to provide scrkey, he should sign the txdata into user_sign
optional bytes user_sign = 14;List<XchainOuterClass.TxDataAccount> getAccountList()
The account list accept tx
repeated .pb.TxDataAccount account = 6;XchainOuterClass.TxDataAccount getAccount(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6;int getAccountCount()
The account list accept tx
repeated .pb.TxDataAccount account = 6;String getNonce()
Random number used to avoid replay attacks
optional string nonce = 8;com.google.protobuf.ByteString getNonceBytes()
Random number used to avoid replay attacks
optional string nonce = 8;long getTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9;com.google.protobuf.ByteString getDesc()
optional bytes desc = 12;int getVersion()
tx version
optional int32 version = 15;Copyright © 2020. All rights reserved.