mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
17 lines
306 B
JavaScript
17 lines
306 B
JavaScript
const utils = require('./helper/utils');
|
|
|
|
|
|
|
|
|
|
async function tvl() {
|
|
const totalTvl = await utils.fetchURL('http://validators.narwallets.com:7000/metrics_json')
|
|
|
|
return {
|
|
near: totalTvl.data.tvl
|
|
}
|
|
}
|
|
|
|
module.exports = {
|
|
methodology: 'TVL counts the NEAR tokens that are staked.',
|
|
tvl,
|
|
} |