Get RFQ venue state
Changed onReturns whether the RFQ venue currently accepts RFQs from Paradex.
state is the one to act on. It is the more restrictive of two venue states, both also returned:
- platform_state, the venue's global state, with the scheduled next state in next_platform_state taking effect at next_platform_state_at (unix milliseconds, 0 when the state is unknown);
- venue_state, the venue's maintenance state for Paradex markets.
| state | Create | Execute | Cancel |
|---|---|---|---|
| AVAILABLE | yes | yes | yes |
| AVAILABLE_CANCEL_ONLY | no | no | yes |
| UNAVAILABLE | no | no | only when platform_state is not UNAVAILABLE |
| UNKNOWN | sent to the venue | sent to the venue | sent to the venue |
A create or an execute refused on the state is answered 400 with error RFQ_VENUE_UNAVAILABLE. A cancel is always sent to the venue; while platform_state is UNAVAILABLE the venue refuses it, and the WebSocket RESULT event reports the refusal. UNKNOWN means the state could not be read recently; requests are then sent to the venue, which answers them through the WebSocket RESULT event.
The state is served from a snapshot refreshed every few seconds, so a change on the venue appears here after up to one refresh.
Request
- Base URLhttps://api.prod.paradex.trade/v1
- URLhttps://api.prod.paradex.trade/v1/rfqs/platform-state
- AuthAPI key in header Authorization
Response
OK
Example response
{
"next_platform_state_at": 1640995200000
}Changes
- warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status
- warning
- warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status
- warning