horizon
horizon copied to clipboard
Endpoint: Market Order for target volume
Moved from: https://github.com/stellar/js-stellar-base/issues/25
This query would allow someone who wishes to place a market order of a given volume to understand the cost they will pay.
Input: normal orderbook args, and volume to sell Output: a set of pricelevels where volume available at that price level is less than the target volume