mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
1.2 KiB
1.2 KiB
Contracts
Rate limits
- 2400 requests/min or 40 requests/sec per IP address. (weight = 1)
{% hint style="info" %} See more details in API Rate limits {% endhint %}
Request
{% tabs %} {% tab title="Websocket" %} Connect
WEBSOCKET [GATEWAY_WEBSOCKET_ENDPOINT]
Message
{
"type": "contracts"
}
{% endtab %}
{% tab title="REST (GET)" %} GET [GATEWAY_REST_ENDPOINT]/query?type=contracts
{% endtab %}
{% tab title="REST (POST)" %} POST [GATEWAY_REST_ENDPOINT]/query
Body
{
"type": "contracts"
}
{% endtab %} {% endtabs %}
Response
{
"status": "success",
"data": {
"chain_id": "763373",
"endpoint_addr": "0xf8963f7860af7de9b94893edb9a3b5c155e1fc0c"
},
"request_type": "query_contracts"
}
{% hint style="info" %} Note:
endpoint_addris the address of the Nado endpoint contracts. Deposits are sent to the endpoint address; this to used sign every request exceptPlaceOrder{% endhint %}