Get order by hash
GET
/orders/{hash}Get order information by its hash (for JWT signer)
Request
Path Params
hash
string
required
a string
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Response 200
Data Schema
success
boolean
required
a boolean
data
object
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,
"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