Get the list of supported currencies
Endpoint
https://anonwallet.net/micro/api/v1/currencies
Code Example
/**
* Requires libcurl
*/
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Authorization: Bearer YOUR_API_KEY_HERE"
],
CURLOPT_URL => "https://anonwallet.net/micro/api/v1/currencies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$error = curl_error($curl);
curl_close($curl);
if ($error) {
echo "cURL Error #:" . $error;
} else {
echo $response;
}
API Response
{
"status": 200,
"message": "OK",
"currencies": [{
"name": "Bitcoin",
"abbreviation": "BTC"
},
{
"name": "Litecoin",
"abbreviation": "LTC"
},
{
"name": "Dogecoin",
"abbreviation": "DOGE"
}
]
}