{ "opencollection": "1.0.0", "info": { "name": "Thornode Auth Quote API", "version": "3.19.1" }, "items": [ { "info": { "name": "Quote", "type": "folder" }, "items": [ { "info": { "name": "quoteswap", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/thorchain/quote/swap", "params": [ { "name": "height", "value": "", "type": "query", "description": "optional block height, defaults to current tip" }, { "name": "from_asset", "value": "", "type": "query", "description": "the source asset" }, { "name": "to_asset", "value": "", "type": "query", "description": "the target asset" }, { "name": "amount", "value": "", "type": "query", "description": "the source asset amount in 1e8 decimals" }, { "name": "destination", "value": "", "type": "query", "description": "the destination address, required to generate memo" }, { "name": "refund_address", "value": "", "type": "query", "description": "the refund address, refunds will be sent here if the swap fails" }, { "name": "streaming_interval", "value": "", "type": "query", "description": "the interval in which streaming swaps are swapped" }, { "name": "streaming_quantity", "value": "", "type": "query", "description": "the quantity of swaps within a streaming swap" }, { "name": "tolerance_bps", "value": "", "type": "query", "description": "the maximum basis points from the current feeless swap price to set the limit in the generated memo" }, { "name": "liquidity_tolerance_bps", "value": "", "type": "query", "description": "the maximum basis points of tolerance for pool price movements to set the limit in the generated memo" }, { "name": "affiliate_bps", "value": "", "type": "query", "description": "the affiliate fee in basis points" }, { "name": "affiliate", "value": "", "type": "query", "description": "the affiliate (address or thorname)" } ] }, "docs": "Provide a quote estimate for the provided swap." } ] } ], "bundled": true }