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
+41
View File
@@ -0,0 +1,41 @@
# V2
Nado V2 API offers REST-based endpoints focused on two key functionalities:
1. **Gateway Queries**: Access real-time market data, including trading pairs and book liquidity.
2. **Archive (indexer) Queries**: Query historical market data, including 24-hour statistics for all products and recent trades.
## Endpoints
### Testnet
* **Gateway**: <mark style="color:red;">`https://gateway.test.nado.xyz/v2`</mark>
* **Archive (indexer)**: <mark style="color:red;">`https://archive.test.nado.xyz/v2`</mark>
## Gateway
{% content-ref url="v2/assets" %}
[assets](https://docs.nado.xyz/developer-resources/api/v2/assets)
{% endcontent-ref %}
{% content-ref url="v2/pairs" %}
[pairs](https://docs.nado.xyz/developer-resources/api/v2/pairs)
{% endcontent-ref %}
{% content-ref url="v2/orderbook" %}
[orderbook](https://docs.nado.xyz/developer-resources/api/v2/orderbook)
{% endcontent-ref %}
## Archive (indexer)
{% content-ref url="v2/tickers" %}
[tickers](https://docs.nado.xyz/developer-resources/api/v2/tickers)
{% endcontent-ref %}
{% content-ref url="v2/contracts" %}
[contracts](https://docs.nado.xyz/developer-resources/api/v2/contracts)
{% endcontent-ref %}
{% content-ref url="v2/trades" %}
[trades](https://docs.nado.xyz/developer-resources/api/v2/trades)
{% endcontent-ref %}