mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 19:51:20 +00:00
25 lines
691 B
Protocol Buffer
25 lines
691 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package ethereum.beacon.rpc.v1;
|
||
|
|
||
|
import "google/api/annotations.proto";
|
||
|
import "google/protobuf/empty.proto";
|
||
|
|
||
|
// Health service API
|
||
|
//
|
||
|
// The health service is able to return important metadata about a beacon node
|
||
|
// such as the address of the logs websocket endpoint used by web clients.
|
||
|
service Health {
|
||
|
// Returns the websocket endpoint which can be reached to subscribe
|
||
|
// to logs from the beacon node.
|
||
|
rpc GetLogsEndpoint(google.protobuf.Empty) returns (LogsEndpointResponse) {
|
||
|
option (google.api.http) = {
|
||
|
get: "/eth/v1alpha1/health/logs/endpoint"
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
message LogsEndpointResponse {
|
||
|
string beacon_logs_endpoint = 1;
|
||
|
}
|