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 Komodo DeFi Framework API instance. Activation will be required to proceed with the trade.
Structure | Type | Description |
---|---|---|
coin | string | the ticker of the coin to get best orders |
action | string | whether to buy or sell the selected coin |
volume | string | the amount of coin user is willing to buy or sell |
Structure | Type | Description |
---|---|---|
result | object (map) | A map of standard OrderDataV1 objects (by ticker) |
where order entry has the following structure
POST
best_orders{
"userpass": "RPC_UserP@SSW0RD",
"method": "best_orders",
"coin": "BTC",
"action": "buy",
"volume": "1"
}