LiquidablePositions

liquidablePositions InjectiveDerivativeExchangeRPC

get

LiquidablePositions gets all the liquidable positions.

Query parameters
marketIdstring · min: 66 · max: 66Optional

Market ID to filter orders for specific market

Example: 0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bbPattern: ^0x[0-9a-fA-F]{64}$
skipintegerOptional

Skip will skip the first n item from the result

Default: 0Example: 0
limitinteger · min: 1 · max: 100Optional

Limit is used to specify the maximum number of items to be returned.

Default: 100Example: 100
Responses
200
OK response.
application/json
get
GET /api/exchange/derivative/v1/liquidablePositions HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
  "positions": [
    {
      "aggregateReduceOnlyQuantity": "0",
      "createdAt": 1544614248000,
      "direction": "long",
      "entryPrice": "15333333.333333333333333333",
      "liquidationPrice": "23420479",
      "margin": "77000000",
      "markPrice": "14000000",
      "marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
      "quantity": "9",
      "subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
      "ticker": "INJ/USDT-PERP",
      "updatedAt": 1544614248000
    },
    {
      "aggregateReduceOnlyQuantity": "0",
      "createdAt": 1544614248000,
      "direction": "long",
      "entryPrice": "15333333.333333333333333333",
      "liquidationPrice": "23420479",
      "margin": "77000000",
      "markPrice": "14000000",
      "marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
      "quantity": "9",
      "subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
      "ticker": "INJ/USDT-PERP",
      "updatedAt": 1544614248000
    },
    {
      "aggregateReduceOnlyQuantity": "0",
      "createdAt": 1544614248000,
      "direction": "long",
      "entryPrice": "15333333.333333333333333333",
      "liquidationPrice": "23420479",
      "margin": "77000000",
      "markPrice": "14000000",
      "marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
      "quantity": "9",
      "subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
      "ticker": "INJ/USDT-PERP",
      "updatedAt": 1544614248000
    },
    {
      "aggregateReduceOnlyQuantity": "0",
      "createdAt": 1544614248000,
      "direction": "long",
      "entryPrice": "15333333.333333333333333333",
      "liquidationPrice": "23420479",
      "margin": "77000000",
      "markPrice": "14000000",
      "marketId": "0x3bdb3d8b5eb4d362371b72cf459216553d74abdb55eb0208091f7777dd85c8bb",
      "quantity": "9",
      "subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
      "ticker": "INJ/USDT-PERP",
      "updatedAt": 1544614248000
    }
  ]
}