List order states by order hashes
/api/exchange/account/v1/orderStates
["0x92da72606d9d26bbc5a8a5578373c6bbe11e39d0944788b5cd142a14d01f9d36","0xd57778edc532dd7a974f2e3ed610d31c0aee380594fff3243d1b5065fea70fc1"]
["0x92da72606d9d26bbc5a8a5578373c6bbe11e39d0944788b5cd142a14d01f9d36","0xd57778edc532dd7a974f2e3ed610d31c0aee380594fff3243d1b5065fea70fc1"]
curl -L \
--url 'https://inj-indexer.nownodes.io/api/exchange/account/v1/orderStates'
{
"derivativeOrderStates": [
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
},
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
},
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
},
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
}
],
"spotOrderStates": [
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
},
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
},
{
"createdAt": 1544614248000,
"margin": "0.0000000002",
"marketId": "0x01e920e081b6f3b2e5183399d5b6733bb6f80319e6be3805b95cb7236910ff0e",
"orderHash": "0x4f4391f8ee11f656d0a9396370c6991f59c4bb491214e8b6ab2011a1bcf1c44e",
"orderSide": "buy",
"orderType": "limit",
"price": "0.0000000002",
"quantityFilled": "28000000000000000.00000000000000000",
"quantityRemaining": "28000000000000000.00000000000000000",
"state": "partial_filled",
"subaccountId": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002",
"updatedAt": 1544614248000
}
]
}
OK response.