Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
feat: add BlockReference api
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohong committed Apr 10, 2018
1 parent d4a93ed commit 303dd5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,17 @@ service Wallet {
};
// the api of tron's db
service Database {
// for tapos
rpc getBlockReference (EmptyMessage) returns (BlockReference) {

}
};

message BlockReference {
int64 block_num = 1;
bytes block_hash = 2;
}

// the api of tron's network such as node list.
service Network {

Expand Down

0 comments on commit 303dd5d

Please sign in to comment.