We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412d89e commit 5836458Copy full SHA for 5836458
src/adaptors/btcfi-cdp/index.js
@@ -1,11 +1,13 @@
1
+const axios = require('axios');
2
const utils = require('../utils');
3
4
const API_URL =
5
'https://boost-gateway.btcfi.one/v1/products/5534c4c2-9cb4-4514-99f5-4c79a7030b27';
6
const PROJECT_NAME = 'btcfi-cdp';
7
8
const apy = async () => {
- const data = await utils.getData(API_URL);
9
+ const response = await axios.get(API_URL);
10
+ const data = response.data;
11
12
const cbBTCPool = {
13
pool: `0x4F7aB59b5AC112970F5dD66D8a7ac505c8E5e08B-base`.toLowerCase(),
0 commit comments