Add Nado documentation and examples, including new API endpoints, FAQs, and guides for using the TypeScript SDK. Update .env.example with additional configuration options.

This commit is contained in:
discountry
2025-12-19 01:38:09 +08:00
parent 624fecfa70
commit c69ea72860
148 changed files with 17031 additions and 27 deletions
@@ -0,0 +1,29 @@
# Queries
All queries go through the following endpoint; the exact details of the query are specified by the JSON payload.
* **REST**: <mark style="color:orange;">`POST [TRIGGER_ENDPOINT]/query`</mark>
## API Response
All `queries` return in the format:
```json
{
"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](https://docs.nado.xyz/developer-resources/api/trigger/queries/list-trigger-orders)
{% endcontent-ref %}
{% content-ref url="queries/list-twap-executions" %}
[list-twap-executions](https://docs.nado.xyz/developer-resources/api/trigger/queries/list-twap-executions)
{% endcontent-ref %}