This commit is contained in:
Nex 2018-09-12 17:27:31 +08:00
parent d80f066138
commit 3c7ebec0dd

View File

@ -13,7 +13,7 @@ service AccountingChain {
rpc BlockNumber (BlockNumberRequest) returns (BlockNumberResponse);
rpc GetBlockByNumber (GetBlockByNumberRequest) returns (Block);
rpc GetBlockByHash (GetBlockByHashRequest) returns (Block);
rpc GetTransactionByHash (GetTransactionByHashRequest) returns (Block);
rpc GetTransactionByHash (GetTransactionByHashRequest) returns (Transaction);
rpc GetTransactionByBlockNumberAndIndex (GetTransactionByBlockNumberAndIndexRequest) returns (Transaction);
rpc GetTransactionByBlockHashAndIndex (GetTransactionByBlockHashAndIndexRequest) returns (Transaction);
}