From 9fe587e54a1d99536ee2ac994481ffc6c18ffddc Mon Sep 17 00:00:00 2001 From: Lanikean Date: Fri, 28 Feb 2025 13:12:31 -0700 Subject: [PATCH] put back in GetPrice --- proto/api.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/proto/api.proto b/proto/api.proto index 50f561a..00cec2d 100644 --- a/proto/api.proto +++ b/proto/api.proto @@ -386,6 +386,17 @@ service Api { }; } + rpc GetPrice(GetPriceRequest) returns (GetPriceResponse) { + option (google.api.http) = { + get: "/api/v1/market/price" + }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Returns the list of prices for specified tokens"; + summary: "Token prices"; + tags: ["Market", "Universal"]; + }; + } + // system API rpc GetServerTime(GetServerTimeRequest) returns (GetServerTimeResponse) { option (google.api.http) = {