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

Display Frozen Status for Accounts in #1266

Open
mgarbs opened this issue Aug 15, 2024 · 2 comments
Open

Display Frozen Status for Accounts in #1266

mgarbs opened this issue Aug 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@mgarbs
Copy link

mgarbs commented Aug 15, 2024

Description:

It would be highly beneficial for HashScan to display whether an account is frozen for HTS tokens. Currently, if a token has a freeze key and an account holding that token is frozen, the account holder cannot send or receive the token. However, there is currently no way to determine if an account is frozen for a specific token unless a transaction is attempted. This limitation can cause confusion and prevent users from understanding their token's status without trial and error.

Proposed Solution:

  • Add a feature to HashScan that displays whether an account is frozen for specific HTS tokens.
  • Ideally, this information would be available on the account’s page, showing the status for each token it holds.

Additional Context:

Kabuto Explorer previously provided this feature, but it has been shut down. This capability is crucial for users managing multiple tokens and ensuring smooth transactions.

@nubeasado

@svienot
Copy link
Collaborator

svienot commented Aug 19, 2024

@mgarbs - The mirror-node API does not provide any information related to the frozen state of tokens for an account.
I currently do not see any way for HashScan to display this (I believe Kabuto Explorer was based on their own mirror node).
Would you mind logging an enhancement on the mirror node REST API if this support is required?

@svienot svienot added enhancement New feature or request dependency Feature requesting an enhancement in a dependency (typically the mirror-node API) labels Aug 19, 2024
@svienot
Copy link
Collaborator

svienot commented Aug 20, 2024

@mgarbs - Correction, I was thinking about the fact the TOKEN FREEZE transaction information we get does not indicate which token is concerned.
We can indeed obtain the freeze status of a token for an account from the /api/v1/accounts/{id}/tokens API.

@svienot svienot removed the dependency Feature requesting an enhancement in a dependency (typically the mirror-node API) label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants