Skip to content

Commit

Permalink
Koala etoken deleted in api call
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasCambon committed Nov 19, 2024
1 parent d8018e4 commit 2bf3997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.j2
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<span class="text-center">
<p class="text-4xl font-extralight text-secondary-500" id="apy">7,8%</p>
<script>
fetch('https://offchain-v2.ensuro.co/api/etokens/apy_range/?days_from=30&etks=0xBC33c283A37d46ABA17BC5F8C27b27242688DeC6,0xF383eF2D31E1d4a19B3e04ca2937DB6A8DA9f229,0x6229D78658305a301E177f9dAEa3a0799fd1528C')
fetch('https://offchain-v2.ensuro.co/api/etokens/apy_range/?days_from=30&etks=0xF383eF2D31E1d4a19B3e04ca2937DB6A8DA9f229,0x6229D78658305a301E177f9dAEa3a0799fd1528C')
.then(response => response.json())
.then(data => {
document.querySelector('#apy').innerHTML = (data.min_apy * 100 ).toFixed(0) + '% to ' + (data.max_apy * 100 ).toFixed(0) + '%';
Expand Down

0 comments on commit 2bf3997

Please sign in to comment.