github.com/klaytn/klaytn@v1.12.1/networks/grpc/klaytn.proto (about) 1 syntax = "proto3"; 2 package grpc; 3 4 option java_multiple_files = true; 5 option java_package = "com.klaytn.grpc"; 6 option java_outer_classname = "KlaytnNodeProto"; 7 option objc_class_prefix = "Klay"; 8 9 10 message Empty { 11 } 12 13 message RPCRequest { 14 string service = 1; 15 string method = 2; 16 bytes params = 3; 17 } 18 19 message RPCResponse { 20 bytes payload = 1; 21 } 22 23 //---------------------------------------- 24 // Service Definition 25 26 service KlaytnNode { 27 rpc Call(RPCRequest) returns (RPCResponse) {} 28 rpc Subscribe(RPCRequest) returns (stream RPCResponse) {} 29 rpc BiCall(stream RPCRequest) returns (stream RPCResponse) {} 30 }