On this page

latest contributor to this doc

Last Edit:



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 Komodo DeFi Framework API instance. Activation will be required to proceed with the trade.

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

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

where order entry has the following structure

  "userpass": "RPC_UserP@SSW0RD",
  "method": "best_orders",
  "coin": "BTC",
  "action": "buy",
  "volume": "1"