Get orders
GET
/ordersGet your own active orders (for JWT signer)
Request
Query Params
first
string
optional
a string that will be parsed into a number
after
string
optional
a string
status
enum<string>
optional
Allowed values:
OPENFILLED
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Response 200
Data Schema
success
boolean
required
a boolean
cursor
string | null
required
a string
data
array [object {10}]
required
order
object
required
id
string
required
a non empty string
>= 1 characters
marketId
integer
required
an integer
currency
string
required
a string
amount
string
required
a non empty string
>= 1 characters
amountFilled
string
required
a non empty string
>= 1 characters
isNegRisk
boolean
required
a boolean
strategy
enum<string>
required
Allowed values:
LIMITMARKET
status
enum<string>
required
Allowed values:
OPENFILLEDEXPIREDCANCELLEDINVALIDATED
rewardEarningRate
number
required
a number
Example
{
"success": true,
"cursor": "string",
"data": [
{
"order": {
"hash": "string",
"salt": "string",
"maker": "string",
"signer": "string",
"taker": "0x0000000000000000000000000000000000000000",
"tokenId": "string",
"makerAmount": "string",
"takerAmount": "string",
"expiration": "string",
"nonce": "string",
"feeRateBps": "string",
"side": 0,
"signatureType": 0,
"signature": "string"
},
"id": "string",
"marketId": 0,
"currency": "string",
"amount": "string",
"amountFilled": "string",
"isNegRisk": true,
"strategy": "LIMIT",
"status": "OPEN",
"rewardEarningRate": 0
}
]
}
Last modified: 11 days ago