// 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 { /** *
* 事务所在的区块的区块号,当事务处于待确认状态时为`null` ** *
uint64 block_number = 1;
*/
long getBlockNumber();
/**
* * 事务所在的区块的哈希,当事务处于待确认状态时为`null` ** *
bytes block_hash = 2;
*/
com.google.protobuf.ByteString getBlockHash();
/**
* * 事务在区块中的位置index,当事务处于待确认状态时为`null` ** *
uint32 index = 3;
*/
int getIndex();
/**
* * 事务的哈希 ** *
bytes hash = 4;
*/
com.google.protobuf.ByteString getHash();
/**
* * 事务类型 ** *
.bdchain.api.common.TransactionType type = 5;
*/
int getTypeValue();
/**
* * 事务类型 ** *
.bdchain.api.common.TransactionType type = 5;
*/
bdchain.api.grpc.common.TransactionType getType();
/**
* * 发送账户地址 ** *
bytes from = 6;
*/
com.google.protobuf.ByteString getFrom();
/**
* * 这条事务之前发送者所发送的事务数量 ** *
uint64 nonce = 7;
*/
long getNonce();
/**
* * 接收账户地址,或者调用的合约地址,或者`null`如为合约创建 ** *
bytes to = 8;
*/
com.google.protobuf.ByteString getTo();
/**
* * 数据或合约代码 ** *
bytes data = 9;
*/
com.google.protobuf.ByteString getData();
/**
* * ECDSA recovery id ** *
bytes v = 10;
*/
com.google.protobuf.ByteString getV();
/**
* * ECDSA signature r ** *
bytes r = 11;
*/
com.google.protobuf.ByteString getR();
/**
* * ECDSA signature s ** *
bytes s = 12;
*/
com.google.protobuf.ByteString getS();
}