On this page

latest contributor to this doc

Last Edit:

@smk762↗

Best Orders

API-v1best_orders

The best_orders method returns the best price orders that can fill the volume for all existing pairs with the 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.

ParameterTypeRequiredDescription
actionstring✓A standard ActionEnum enum. Whether to buy or sell the selected coin
coinstring✓The ticker of the coin to get best orders
volumestring✓The amount of coin user is willing to buy or sell

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

best_orders

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