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

Commit

Permalink
Merge pull request grpc-ecosystem#51 from tronprotocol/add_api
Browse files Browse the repository at this point in the history
Add api
  • Loading branch information
zergweak authored May 18, 2018
2 parents 46846cf + 8c77abd commit 7c6f6f3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,34 @@ service Wallet {
}
};
}

rpc ListWitnesses (EmptyMessage) returns (WitnessList) {
option (google.api.http) = {
post: "/wallet/listwitnesses"
body: "*"
additional_bindings {
get: "/wallet/listwitnesses"
}
};
};
rpc GetAssetIssueList (EmptyMessage) returns (AssetIssueList) {
option (google.api.http) = {
post: "/wallet/getassetissuelist"
body: "*"
additional_bindings {
get: "/wallet/getassetissuelist"
}
};
}
rpc TotalTransaction (EmptyMessage) returns (NumberMessage) {
option (google.api.http) = {
post: "/wallet/totaltransaction"
body: "*"
additional_bindings {
get: "/wallet/totaltransaction"
}
};
}
};


Expand Down

0 comments on commit 7c6f6f3

Please sign in to comment.