JSON-RPC API
cURL
curl --request GET \ --url https://test.deribit.com/api/v2/public/status \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 55, "method": "public/status", "params": {} } '
{ "jsonrpc": "2.0", "id": 55, "result": { "locked_currencies": [ "BTC", "ETH" ], "locked": true } }
Method used to get information about locked currencies
Try in API console
Success response
The JSON-RPC version (2.0)
2.0
Hide child attributes
true when platform is locked in all currencies, partial when some currencies are locked, false - when there are not currencies locked
true
partial
false
List of currency indices locked platform-wise
The id that was sent in the request
Was this page helpful?