Import Dev Kit
by Aggre _--
HTML
<script type="module">
import {client} from 'https://unpkg.com/@devprotocol/[email protected]/bundled/client/index.js'
client.getStats().then(console.log)
/**
{
annualSupplyGrowthRatio: 0.022016737376137144 -> 2.2 %
assetOnboarded: 1587
creatorAPY: 0.24877591681247696 -> 24 %
creatorsRewardsDEV: 142801.9708171081
creatorsRewardsUSD: 980525.4963373807
devPrice: 6.8663302805055615
marketCap: 6851461.218431015
stakerAPY: 0.2390199985061053 -> 23 %
stakingAmount: 574018.4686958657
stakingRatio: 0.5752642053308502 -> 57 %
totalCap: 87324428.66444176
}
**/
</script>