mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-29 13:25:30 +08:00
16 lines
290 B
JavaScript
16 lines
290 B
JavaScript
const axios = require("axios")
|
|
|
|
async function tvl(timestamp) {
|
|
const stakedStacks = await axios.get(`https://api.stacking.club/api/tvl?timestamp=${timestamp * 1000}`)
|
|
|
|
return {
|
|
"blockstack": stakedStacks.data
|
|
};
|
|
}
|
|
|
|
module.exports = {
|
|
stacks: {
|
|
tvl
|
|
},
|
|
}
|