Skip to content

Commit 9d9d081

Browse files
authored
update api url
1 parent d5f68da commit 9d9d081

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cryptapi/cryptapi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Exception;
55

66
class CryptAPI {
7-
private static $base_url = "https://cryptapi.io/api";
7+
private static $base_url = "https://api.cryptapi.io";
88
private $valid_tokens = ['becaz', 'bnb', 'busd', 'cro', 'link', 'mkr', 'nexo', 'pax', 'tusd', 'usdc', 'usdt', ];
99
private $valid_coins = ['btc', 'bch', 'eth', 'ltc', 'xmr', 'iota', ];
1010
private $own_address = null;
@@ -134,4 +134,4 @@ private static function _request($coin, $endpoint, $params=[]) {
134134

135135
return json_decode($response);
136136
}
137-
}
137+
}

0 commit comments

Comments
 (0)