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.
Parameter | Type | Required | Description |
---|---|---|---|
action | string | ✓ | A standard ActionEnum enum. Whether to buy or sell the selected coin |
coin | string | ✓ | The ticker of the coin to get best orders |
volume | string | ✓ | The amount of coin user is willing to buy or sell |
Parameter | Type | Description |
---|---|---|
result | object (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"
}