Get a currency list
posthttps://api.criptointercambio.com/v2/#getCurrenciesRetrieves a list of enabled currencies.
info
Cripto InterCambio can disable and enable currencies at any time.
Request
Header parameters
Requires authentication headers.
Body parameters
Consists of a JSON-RPC 2.0 protocol request object.
The params schema:
| Name | Type | Required | Description |
|---|---|---|---|
params | object | false | Request parameters. |
Sample request
{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"method": "getCurrencies",
"params": {}
}
Response
Successful response
Consists of a JSON-RPC 2.0 protocol response object.
The result schema:
| Name | Type | Description |
|---|---|---|
result | array of strings | Enabled currency tickers. |
Sample successful response
{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"result": [
"doge",
"amp",
"dash",
"waves",
"rlc",
"dcr",
"xlm"
]
}
Error response
Consists of a JSON-RPC 2.0 protocol error response object.
Sample error response
{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"error": {
"code": -32600,
"message": "Error: You reached requests limit 10 rps"
}
}
Error codes
| Code | Message | Description |
|---|---|---|
-32600 | Error: You reached requests limit {limit} rps | RPS is out of the limit. |
-32603 |
| Mostly, this is a technical issue on our side. Requires further investigation. |