Browse Source

Coinmarketcap v2 api

pass-iguana-arg
jl777 7 years ago
parent
commit
422317a7ae
  1. 2
      crypto777/iguana_utils.c

2
crypto777/iguana_utils.c

@ -1147,7 +1147,7 @@ void calc_rmd160_sha256(uint8_t rmd160[20],uint8_t *data,int32_t datalen)
char *cmc_ticker(char *base) char *cmc_ticker(char *base)
{ {
char url[512]; char url[512];
sprintf(url,"https://api.coinmarketcap.com/v1/ticker/%s/",base); sprintf(url,"https://api.coinmarketcap.com/v2/ticker/%s/",base);
return(issue_curl(url)); return(issue_curl(url));
} }

Loading…
Cancel
Save