Validations to put on /0x/v0/order POST
rhrahul opened this issue · comments
Rahul Pipaliya commented
Hey,
I am not sure what radarrelay standard API is using to validate POST order/ endpoint.
can you assist me with that, I understood every other endpoints using json-schemas.
But radarrelay is giving you perfect output of what the error is, how to do that ?
Please suggest me.
Thanks
Leonid Logvinov commented
They just wrote a bunch of custom logic
Rahul Pipaliya commented
Ok, thanks 👍
Fabio B commented
@rhrahul they might be using 0x.js getOrderStateAsync under-the-hood.
Rahul Pipaliya commented
Ok thanks