The trades list on the Orderbook page does not update with the latest trades when they happen.
long-term question:
do we need an endpoint to long-poll a trades list from the indexer?
can be fixed by
requesting a websocket listener from swap trades of the specific pair in question from the RPC/LCD endpoint, and then requesting the swap trades of that pair when these events are detected.
fetching from the LCD endpoint (which is simpler than the RPC endpoint) is not possible until we have upgraded to the chain version 0.4.0 (which fixes being able to query events with specific Token0/TokenZero keys) https://github.com/duality-labs/duality-web-app/issues/413
The trades list on the Orderbook page does not update with the latest trades when they happen.
long-term question:
can be fixed by
Token0
/TokenZero
keys) https://github.com/duality-labs/duality-web-app/issues/413