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