Orders

Last updated 26 days ago

REST endpoints for retrieving order details and validating orders

get
GET Order

https://api.radarrelay.com
/v2/orders/{orderHash}
Get order by order hash
Request
Response
Path Parameters
orderHash
required
string
Hash of signed order object.
200: OK
{
"orderHash": string;
"type": RadarOrderType
"state": RadarOrderState
"baseTokenAddress": string,
"quoteTokenAddress": string,
"remainingBaseTokenAmount": BigNumber,
"remainingQuoteTokenAmount": BigNumber,
"price": BigNumber,
"createdDate": BigNumber,
"signedOrder": SignedOrder,
}
400: Bad Request
Invalid hash supplied
404: Not Found
Order not found

get
Validate Order

https://api.radarrelay.com
/v2/orders/{orderHash}/validate
Validate a RadarSignedOrder.
Request
Response
Path Parameters
orderHash
required
string
Hash of signed order object
200: OK
Order valid
400: Bad Request
Order invalid
404: Not Found
Order not found