Files
ritmex-bot/docs/nado/developer-resources/api/trigger/queries.md
T

806 B

Queries

All queries go through the following endpoint; the exact details of the query are specified by the JSON payload.

  • REST: POST [TRIGGER_ENDPOINT]/query

API Response

All queries return in the format:

{
  "status": "success" | "failure",
  "data"?: {data},
  "error"?: "{error_msg}",
  "error_code"?: {error_code},
  "request_type": "{request_type}"
}

Available Queries:

{% content-ref url="queries/list-trigger-orders" %} list-trigger-orders {% endcontent-ref %}

{% content-ref url="queries/list-twap-executions" %} list-twap-executions {% endcontent-ref %}