github.com/vipernet-xyz/tm@v0.34.24/proto/tendermint/rpc/grpc/types.proto (about)

     1  syntax = "proto3";
     2  package tendermint.rpc.grpc;
     3  option  go_package = "github.com/vipernet-xyz/tm/rpc/grpc;coregrpc";
     4  
     5  import "tendermint/abci/types.proto";
     6  
     7  //----------------------------------------
     8  // Request types
     9  
    10  message RequestPing {}
    11  
    12  message RequestBroadcastTx {
    13    bytes tx = 1;
    14  }
    15  
    16  //----------------------------------------
    17  // Response types
    18  
    19  message ResponsePing {}
    20  
    21  message ResponseBroadcastTx {
    22    tendermint.abci.ResponseCheckTx   check_tx   = 1;
    23    tendermint.abci.ResponseDeliverTx deliver_tx = 2;
    24  }
    25  
    26  //----------------------------------------
    27  // Service Definition
    28  
    29  service BroadcastAPI {
    30    rpc Ping(RequestPing) returns (ResponsePing);
    31    rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx);
    32  }