Skip to content

Commit

Permalink
return prices in a stream rather than a stream of arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
megsdevs committed Dec 19, 2023
1 parent 7b715fe commit 0597b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proto/valorem/trade/v1/spot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ message SpotPriceRequest {
// 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;
// spot_price_info holds the data about the fetched spot prices for the tokens specified in the request. The price for
// each token is sent down the stream as and when it is ready.
SpotPriceInfo spot_price_info = 1;
}

// SpotPriceInfo represents the details and the spot price (if available) for a single token
Expand Down

0 comments on commit 0597b12

Please sign in to comment.