mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
const utils = require('./helper/utils');
|
|
|
|
/* * * * * * * *
|
|
* ==> Correct adapter needs to be created.
|
|
*
|
|
*****************/
|
|
async function fetch() {
|
|
let staked = await utils.fetchURL('https://api.allinx.io/api/stats')
|
|
return staked.data.data.totalLockedValue;
|
|
}
|
|
|
|
module.exports = {
|
|
fetch
|
|
}
|