commit
c0db9e15f7
@ -13,8 +13,8 @@
|
|||||||
#define UPDATE_PERIOD_h 5
|
#define UPDATE_PERIOD_h 5
|
||||||
|
|
||||||
//API BTC price
|
//API BTC price
|
||||||
#define getBTCAPI "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd"
|
#define getBTCAPI "https://api.blockchain.com/v3/exchange/tickers/BTC-USD"
|
||||||
#define UPDATE_BTC_min 5
|
#define UPDATE_BTC_min 1
|
||||||
|
|
||||||
//API Block height
|
//API Block height
|
||||||
#define getHeightAPI "https://mempool.space/api/blocks/tip/height"
|
#define getHeightAPI "https://mempool.space/api/blocks/tip/height"
|
||||||
@ -116,4 +116,4 @@ pool_data getPoolData(void);
|
|||||||
clock_data_t getClockData_t(unsigned long mElapsed);
|
clock_data_t getClockData_t(unsigned long mElapsed);
|
||||||
|
|
||||||
|
|
||||||
#endif //MONITOR_API_H
|
#endif //MONITOR_API_H
|
||||||
|
Loading…
Reference in New Issue
Block a user