You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
612 B

  1. syntax = "proto3";
  2. package core_grpc;
  3. import "github.com/tendermint/abci/blob/master/types/types.proto";
  4. //----------------------------------------
  5. // Message types
  6. //----------------------------------------
  7. // Request types
  8. message RequestBroadcastTx {
  9. bytes tx = 1;
  10. }
  11. //----------------------------------------
  12. // Response types
  13. message ResponseBroadcastTx{
  14. types.ResponseCheckTx check_tx = 1;
  15. types.ResponseDeliverTx deliver_tx = 2;
  16. }
  17. //----------------------------------------
  18. // Service Definition
  19. service BroadcastAPI {
  20. rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ;
  21. }