standard-relayer-api icon indicating copy to clipboard operation
standard-relayer-api copied to clipboard

submit order response code

Open benjiqq opened this issue 6 years ago • 3 comments

PostOrder should return some status about the order i.e. status after submit

  • submitted successfully
  • rejected (reason)

http://sra-spec.s3-website-us-east-1.amazonaws.com/#operation/postOrder

benjiqq avatar Feb 13 '19 07:02 benjiqq

@benjyz according to the SRA spec, the postOrder response already includes a code, a human-readable reason, and more details nested under validationErrors. Here's a screenshot from the SRA spec page:

screen shot 2019-02-25 at 10 16 08 am

What exactly do you think is missing?

albrow avatar Feb 25 '19 18:02 albrow

do relayers follow the spec? what's the "enforcement" mechanism there, i.e. I have the feeling relayers do all kinds of things, but not entirely clear how they follow spec or not. where would I file an issue with a relayer.

benjiqq avatar Feb 28 '19 10:02 benjiqq

@benjyz which relayer? Some have public Github accounts for feedback.

fabioberger avatar Mar 14 '19 12:03 fabioberger