mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
const axios = require('axios')
|
|
|
|
const url = "https://public.nerve.network/nerve/tvl"
|
|
|
|
const tvl = async (api) => {
|
|
const { data } = await axios(url)
|
|
api.addUSDValue(Math.round(data.totalUsdTvl))
|
|
}
|
|
|
|
module.exports = {
|
|
misrepresentedTokens: true,
|
|
nuls: { tvl }
|
|
} |