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#66 from tronprotocol/evan-addTransa…
Browse files Browse the repository at this point in the history
…ctionSign

add transaction sign api
  • Loading branch information
renchenchang authored Jun 19, 2018
2 parents 212198e + 8117fca commit 8b27f9e
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 8b27f9e

Please sign in to comment.