Skip to content

Commit

Permalink
put back in GetPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanikean committed Feb 28, 2025
1 parent 3b601f2 commit 9fe587e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) = {
Expand Down

0 comments on commit 9fe587e

Please sign in to comment.