mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-30 05:45:32 +08:00
12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
const retry = require('./helper/retry')
|
|
const axios = require("axios");
|
|
|
|
async function fetch() {
|
|
var response = await retry(async bail => await axios.get('https://api.secretanalytics.xyz/secretswap/tvl'))
|
|
|
|
return response.data;
|
|
}
|
|
|
|
module.exports = {
|
|
fetch
|
|
} |