0xProject / standard-relayer-api

Standard specifications for 0x relayer public APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validations to put on /0x/v0/order POST

rhrahul opened this issue · comments

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

They just wrote a bunch of custom logic

Ok, thanks 👍

@rhrahul they might be using 0x.js getOrderStateAsync under-the-hood.

Ok thanks