Files
DefiLlama-Adapters/projects/helper/acala/lcdot.js
2024-04-29 13:58:16 +02:00

15 lines
260 B
JavaScript

const { getAPI } = require('./api')
async function staking(chain) {
const api = await getAPI(chain)
const data = await api.query.tokens.totalIssuance( { LiquidCrowdLoan: '13' } )
return {
polkadot: data/1e10
}
}
module.exports = {
staking,
}