Nexo Pro for PHP
  • ⚡Install
  • Portfolio
    • Get account balances
    • Get pairs
    • Get pair quote
  • Orders
    • Place an order
    • Get order details
    • Get order history
  • Trades
    • Get trades history
  • Credits
Powered by GitBook
On this page
  1. Orders

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"
    }
  ]
}
PreviousPlace an orderNextGet order history

Last updated 2 years ago