diff --git a/proto/valorem/trade/v1/spot.proto b/proto/valorem/trade/v1/spot.proto index f65df77..d6b72d6 100644 --- a/proto/valorem/trade/v1/spot.proto +++ b/proto/valorem/trade/v1/spot.proto @@ -19,7 +19,7 @@ service Spot { // stream of SpotPriceResponse: Continuously streams data about the spot prices // of the requested tokens on their respective chains // as updates are available. - rpc GetSpotPrice (SpotPriceRequest) returns (stream SpotPriceResponse); + rpc GetSpotPrice (SpotPriceRequest) returns (stream SpotPriceInfo); } // SpotPriceRequest encapsulates the details of the tokens for which @@ -31,14 +31,6 @@ message SpotPriceRequest { repeated SpotPriceInfo spot_price_info = 1; } -// SpotPriceResponse provides the fetched spot prices for the tokens specified in the request. -message SpotPriceResponse { - - // spot_price_info holds the data about the fetched spot prices for each of the - // tokens specified in the request. - repeated SpotPriceInfo spot_price_info = 1; -} - // SpotPriceInfo represents the details and the spot price (if available) for a single token // on a particular blockchain. message SpotPriceInfo {