Supporting
Public
Tests the connection to the API server, and returns its version. You can use this to make sure the API is reachable, and matches the expected version.
With expected_result set to exception the server returns error 11094 (internal_server_error) instead of the version, for example:
{"jsonrpc": "2.0", "id": 8213, "error": {"message": "internal_server_error", "code": 11094}}
get/public/test
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/public/test
- Authnone declared
Query parameters
expected_result'exception'
The value "exception" will trigger an error response with code 11094 (internal_server_error). This may be useful for testing wrapper libraries.
Response
Success response
Example response
{
"result": {
"version": "2.1.26"
}
}Changes
No recorded changes to this operation across all 11 revisions of this API.