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

adding a function to retrieve all tokens for a User #12

Open
ferencdg opened this issue Sep 24, 2021 · 1 comment
Open

adding a function to retrieve all tokens for a User #12

ferencdg opened this issue Sep 24, 2021 · 1 comment

Comments

@ferencdg
Copy link

ferencdg commented Sep 24, 2021

would it make sense to add a new method like

userTokens(User) which would return all the tokenIds or even all the Metadata for the tokens that the user owns? Wallets would find that functionality useful. Also is there any discord for ToniqLabs?

@stephenandrews
Copy link
Contributor

We actually do have this function, which we have shared with wallet devs and other apps (like Entrepot). You can generate a list of all tokens owned by a user, or all tokens that exist, returning metadata, owner, token id and any marketplace listings as well. We should have this in the official interface shortly

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

No branches or pull requests

2 participants