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

spl-token-cli: No way to look up mint by account #467

Closed
t-nelson opened this issue Sep 17, 2020 · 0 comments · Fixed by #532
Closed

spl-token-cli: No way to look up mint by account #467

t-nelson opened this issue Sep 17, 2020 · 0 comments · Fixed by #532

Comments

@t-nelson
Copy link
Contributor

Problem

spl-token-cli has no way to directly look up the mint associated with a given token account. One can find this information by providing both the the token authority pubkey and account address, but this is cumbersome.

Proposed solution

  1. Quick and dirty. Add a --verbose flag to balance which additionally displays the mint address. This feels a little overloaded
  2. Add an account subcommand that displays all fields for a given account. This would be more flexible for CLI wrapped automation, especially if we add support for --output-format=json in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant