Skip to content

[api] Quote Endpoints V2

Ursa (9R) requested to merge ursa/quote into develop

This includes the changes from #1445 (closed) and the Discord report that providing an asset for which no pool exists may return a 500. Since this change is additive I think we can proceed safely without versioning, but will send out an interface alert to confirm as well.

This is running on our dev nodes for convenience: https://thornode.dev.ninerealms.com/thorchain/quote/swap?from_asset=BTC.BTC&to_asset=ETH.USDC-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB4&amount=1000000&destination=0x1c7b17362c84287bd1184447e6dfeaf920c31bbe&tolerance_bps=1000&affiliate_bps=100&affiliate=t (bad asset example).

Merge request reports