-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display locked token balance #481
Comments
@frol Will we be able to get a locked balance breakdown from this RPC endpoint? https://docs.nearprotocol.com/docs/interaction/rpc#accountaccount_id |
Rephrasing: Which of the "locked" balance types (staked, vesting, state stake) will be included in the |
Locked balance includes validator stake. Vesting is going to be implemented on the level of the contracts, so I assume it will be treated as a token transfer (@evgenykuzyakov is this accurate?). I am not sure where the state stake fit (@ilblackdragon can you help here?). |
Lockup will have to be separately considered because it requires interaction with the contract deployed on the account. To support that, we need a way to tell whether the account has a lockup contract deployed. |
Overview
Users of the wallet will often not have full control over their NEAR tokens. There are four main reasons for this, the first two of which are covered by this issue.
Story
As a user, I want to view both my active and locked (vesting, state staked, etc) token balances, so I can understand the quantity of tokens that are fully usable and transferrable.
As a user, I want to be prevented from attempting a transaction that will go over my available balance, so my transaction doesn't fail.
Acceptance Criteria
storage_used
*cost_per_byte
)Send Money
over their available balanceSend Money
page, with explanationLogin
orSign
over their available balanceLogin
andSign
page, with explanationThe text was updated successfully, but these errors were encountered: