latest contributor to this doc

Last Edit: @smk762 ,

best_orders

best_orders coin action volume

The best_orders method returns the best price orders that can fill the volume for all existing pairs with selected coin.

The response of this method can contain coins that are not activated on the AtomicDEX API instance. Activation will be required to proceed with the trade.

StructureTypeDescription
coinstringthe ticker of the coin to get best orders
actionstringwhether to buy or sell the selected coin
volumestringthe amount of coin user is willing to buy or sell

StructureTypeDescription
resultobject (map)A map of standard OrderDataV1 objects (by ticker)

where order entry has the following structure

POST
best_orders
{
  "userpass": "testpsw",
  "method": "best_orders",
  "coin": "BTC",
  "action": "buy",
  "volume": "1"
}