bdledger-java-sdk/src/main/java/bdchain/api/grpc/acchain/TransactionOrBuilder.java
2019-04-23 15:58:21 +08:00

126 lines
2.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bdchain/api/ac_chain.proto
package bdchain.api.grpc.acchain;
public interface TransactionOrBuilder extends
// @@protoc_insertion_point(interface_extends:bdchain.api.acchain.Transaction)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* 事务所在的区块的区块号,当事务处于待确认状态时为`null`
* </pre>
*
* <code>uint64 block_number = 1;</code>
*/
long getBlockNumber();
/**
* <pre>
* 事务所在的区块的哈希,当事务处于待确认状态时为`null`
* </pre>
*
* <code>bytes block_hash = 2;</code>
*/
com.google.protobuf.ByteString getBlockHash();
/**
* <pre>
* 事务在区块中的位置index当事务处于待确认状态时为`null`
* </pre>
*
* <code>uint32 index = 3;</code>
*/
int getIndex();
/**
* <pre>
* 事务的哈希
* </pre>
*
* <code>bytes hash = 4;</code>
*/
com.google.protobuf.ByteString getHash();
/**
* <pre>
* 事务类型
* </pre>
*
* <code>.bdchain.api.common.TransactionType type = 5;</code>
*/
int getTypeValue();
/**
* <pre>
* 事务类型
* </pre>
*
* <code>.bdchain.api.common.TransactionType type = 5;</code>
*/
bdchain.api.grpc.common.TransactionType getType();
/**
* <pre>
* 发送账户地址
* </pre>
*
* <code>bytes from = 6;</code>
*/
com.google.protobuf.ByteString getFrom();
/**
* <pre>
* 这条事务之前发送者所发送的事务数量
* </pre>
*
* <code>uint64 nonce = 7;</code>
*/
long getNonce();
/**
* <pre>
* 接收账户地址,或者调用的合约地址,或者`null`如为合约创建
* </pre>
*
* <code>bytes to = 8;</code>
*/
com.google.protobuf.ByteString getTo();
/**
* <pre>
* 数据或合约代码
* </pre>
*
* <code>bytes data = 9;</code>
*/
com.google.protobuf.ByteString getData();
/**
* <pre>
* ECDSA recovery id
* </pre>
*
* <code>bytes v = 10;</code>
*/
com.google.protobuf.ByteString getV();
/**
* <pre>
* ECDSA signature r
* </pre>
*
* <code>bytes r = 11;</code>
*/
com.google.protobuf.ByteString getR();
/**
* <pre>
* ECDSA signature s
* </pre>
*
* <code>bytes s = 12;</code>
*/
com.google.protobuf.ByteString getS();
}