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

useBalance Hook empty reducible balance #83

Closed
bgibers opened this issue Nov 25, 2024 · 1 comment
Closed

useBalance Hook empty reducible balance #83

bgibers opened this issue Nov 25, 2024 · 1 comment

Comments

@bgibers
Copy link
Contributor

bgibers commented Nov 25, 2024

On Aleph Zero:

The hook useBalance("5FKbRdY3LSH3u7i5HQtZJFUDYK48gVDTk9UHfLVReB2V7iCe", true)

returns:

freeBalance: 12744289824425306
reservedBalance: 0
reducibleBalance: 12744289824425306
balance: 12744289824425306

While using the extrinsic: system.account(5FKbRdY3LSH3u7i5HQtZJFUDYK48gVDTk9UHfLVReB2V7iCe)

returns:

{
  nonce: 282
  consumers: 3
  providers: 1
  sufficients: 0
  data: {
    free: 12,744,289,824,425,306
    reserved: 0
    frozen: 12,500,000,927,318,979
    flags: 170,141,183,460,469,231,731,698,539,259,012,003,331
  }
}

The frozen balance is being ignored within the useBalance hook

@bgibers
Copy link
Contributor Author

bgibers commented Nov 26, 2024

Fixed in #84

@bgibers bgibers closed this as completed Dec 4, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in ink!athon Backlog Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant