atomicDEX-API
atomicDEX-API copied to clipboard
Empty "orders" field when "best_orders" is called at launch
We need to parse the URL parameters at the web project to fill out the swap forms. The target/buy coin is selected as an order on the Taker form. That requires a best_orders call with the sell coin.
"coin": "LTC",
"action": "sell",
"request_by": {
"type": "number",
"value": 1
}
It's called immediately at launch (mm2 status being 3, rpcIsUp), orders field in the response is empty:
I solved the frontend issue by polling KMD orders a few times until it gives a proper response, then initiating the parsing. So this is not urgent at all. I am opening this issue just to note it.
macOS Chrome Web build (wasm)
main 35e92394928825c337f246f8e19fbfab1f65c4a8