mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
const utils = require('./helper/utils')
|
|
|
|
async function fetch(){
|
|
const tvl = await utils.fetchURL("https://public1.nuls.io/nuls/tvl")
|
|
return Number(tvl.data.tvl)
|
|
}
|
|
|
|
module.exports={
|
|
methodology: 'TVL counts native chain staking and data is pulled from: "https://public1.nuls.io/nuls/tvl".',
|
|
fetch,
|
|
} |