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#63 from tronprotocol/evan-addsignapi
Browse files Browse the repository at this point in the history
add getTransactionSign
  • Loading branch information
renchenchang authored Jun 18, 2018
2 parents 8ea054a + 119b146 commit 6a3c42f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,16 @@ service Wallet {
}
};
}
//Warning: do not invoke this interface provided by others.
rpc GetTransactionSign (TransactionSign) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/getTransactionSign"
body: "*"
additional_bindings {
get: "/wallet/getTransactionSign"
}
};
};
};


Expand Down
5 changes: 5 additions & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ message Transactions {
repeated Transaction transactions = 1;
}

message TransactionSign {
Transaction transaction = 1;
bytes privateKey = 2;
}

message BlockHeader {
message raw {
int64 timestamp = 1;
Expand Down

0 comments on commit 6a3c42f

Please sign in to comment.