Get order details

Retrieves detailed information for the order corresponding to the provided order id.

Example:
$order = NexoPro::getOrder(
    id: '0b2136ed-634f-4e33-84ed-58cefeaa7ba2'
);
{
  "id": "0b2136ed-634f-4e33-84ed-58cefeaa7ba2",
  "side": "sell",
  "pair": "NEXO/USDT",
  "timestamp": 1623252758,
  "quantity": "1000",
  "exchangeRate": "2.034",
  "executedQuantity": "1000",
  "trades": [
    {
      "id": "5288",
      "symbol": "NEXO/USDT",
      "type": "market",
      "orderAmount": "1000",
      "amountFilled": "1000",
      "executedPrice": "2.034",
      "timestamp": 1623252761,
      "status": "completed"
    }
  ]
}

Last updated