Open fwiessner opened 3 years ago
Also:
https://swagger.kava.io/#/BEP3/get_bep3_swap__swap_id_ gives errors:
Errors
Resolver error at paths./bep3/swap/{swap-id}.get.responses.200.schema.properties.result.properties.cross_chain.$ref Could not resolve reference: Could not resolve pointer: /definitions/CrossChain does not exist in document
@fwiessner Yeah, the examples definitely could use some TLC. They weren't updated with the last major chain upgrade.
I'll log a ticket to update these. Thank you for bringing it to our attention!
I would adapt the code, if you would only let me know, what changed and where to find reliable information on how to do it now.
The example in swap_incoming.ts seems to be broken.
The script successfully sends HTLT order on binance chain, however, the swapid is never known to https://api.data.kava.io/bep3/swap/ and the script fails at that point:
the function failing is:
await kavaClient.getSwap(expectedKavaSwapID);