Skip to content
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

SDK: Return current position #149

Closed
Tracked by #146
nkuba opened this issue Jan 12, 2024 · 0 comments · Fixed by #233
Closed
Tracked by #146

SDK: Return current position #149

nkuba opened this issue Jan 12, 2024 · 0 comments · Fixed by #233
Labels
🔌 SDK TypeScript SDK Library

Comments

@nkuba
Copy link
Member

nkuba commented Jan 12, 2024

SDK should expose the current staker's balances.

It should expose two values:

@nkuba nkuba mentioned this issue Jan 12, 2024
@nkuba nkuba added the 🔌 SDK TypeScript SDK Library label Jan 15, 2024
@nkuba nkuba changed the title Return current position SDK: Return current position Feb 6, 2024
r-czajkowski added a commit that referenced this issue Mar 5, 2024
Closes: #149 
---

### SDK: Return current position

---

SDK exposes the current staker's balances with two values:
stBTC shares balance (Obtained from: stBTC.balanceOf(address))
tBTC assets balance (Obtained from: stBTC.assetsBalanceOf(address) -
depends on #221)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 SDK TypeScript SDK Library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants