You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
below the base token balance, we should also add the mana balance
⚠️ When an address belongs to an output, the mana of the output itself has to be calculated by us, like we do with the balance
🔈 Lets not include delegation rewards for now, that is for another task
With the SDK and chronicle we can get all we need for now
stored: chronicle /api/explorer/v3/balance/[adddress]: note this is already decayed, so we cant calculate de decay yet, we will do that after chronicle updates their implementation. Note if the address is the addres of an output, we have to calculate the decayed stored mana of the output too and add it
potential: chronicle /api/explorer/v3/balance/[adddress]. Note if the address is the addres of an output, we have to calculate the decayed potential mana of the output too and add it
BIC: when its an account address we need to add BIC, we can use the sdk client for this, this is part of available mana
Staking Rewards: when its an account address we need to add the staking rewards, we can use the sdk client for this, this is part of available mana
Total: sum of all above
The text was updated successfully, but these errors were encountered:
begonaalvarezd
changed the title
[Task]: Add mana balance to all address pages
[Task]: Add mana balance to all address pages: stored, decay, BIC, potential
Feb 28, 2024
begonaalvarezd
changed the title
[Task]: Add mana balance to all address pages: stored, decay, BIC, potential
[Task]: Kickoff mana balance to all address pages
Feb 28, 2024
Task description
below the base token balance, we should also add the mana balance
🔈 Lets not include delegation rewards for now, that is for another task
With the SDK and chronicle we can get all we need for now
/api/explorer/v3/balance/[adddress]
: note this is already decayed, so we cant calculate de decay yet, we will do that after chronicle updates their implementation. Note if the address is the addres of an output, we have to calculate the decayed stored mana of the output too and add it/api/explorer/v3/balance/[adddress]
. Note if the address is the addres of an output, we have to calculate the decayed potential mana of the output too and add itThe text was updated successfully, but these errors were encountered: