All URIs are relative to https://www.deribit.com/api/v2
Method | HTTP request | Description |
---|---|---|
PublicGetTimeGet | Get /public/get_time | Retrieves the current time (in milliseconds). This API endpoint can be used to check the clock skew between your software and Deribit's systems. |
PublicTestGet | Get /public/test | 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. |
map[string]interface{} PublicGetTimeGet(ctx, ) Retrieves the current time (in milliseconds). This API endpoint can be used to check the clock skew between your software and Deribit's systems.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} PublicTestGet(ctx, optional) 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.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *PublicTestGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PublicTestGetOpts struct
Name | Type | Description | Notes |
---|---|---|---|
expectedResult | optional.String | The value "exception" will trigger an error response. This may be useful for testing wrapper libraries. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]