mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
1.1 KiB
1.1 KiB
Status
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": "status"
}
{% endtab %}
{% tab title="REST (GET)" %} GET [GATEWAY_REST_ENDPOINT]/query?type=status
{% endtab %}
{% tab title="REST (POST)" %} POST [GATEWAY_REST_ENDPOINT]/query
Body
{
"type": "status"
}
{% endtab %} {% endtabs %}
Response
{
"status": "success",
"data": "active",
"request_type": "query_status",
}
{% hint style="info" %} The offchain sequencer could be in any of the following statuses:
active: accepting incoming executes.failed: sequencer is in a failed state. {% endhint %}