protos(view): create a new OwnedPositions
rpc
#4984
Labels
needs-refinement
unclear, incomplete, or stub issue that needs work
OwnedPositions
rpc
#4984
Is your feature request related to a problem? Please describe.
I am a client, and I would like to query my view service to get a list of positions to inspect or render. Currently, I have to:
OwnedPositionIds
query (equipped with protos(view): add a subaccount filter to theOwnedPositionIds
rpc #4992)Describe the solution you'd like
Instead of making N queries, I would like to make one query to a streaming RPC:
Describe alternatives you've considered
I have considered augmenting the
OwnedPositionIds
RPC but making a new one seems cleaner and simpler. We can mark it as unimplemented in the rust view server.Additional context
This is useful to improve rendering quality on the dex explorer. Market makers would probably defer to an outside OMS cache or something and not use this RPC.
The text was updated successfully, but these errors were encountered: