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

Query boxes by multiple Token IDs #68

Open
capt-nemo429 opened this issue Dec 14, 2022 · 0 comments · May be fixed by #69
Open

Query boxes by multiple Token IDs #68

capt-nemo429 opened this issue Dec 14, 2022 · 0 comments · May be fixed by #69
Assignees
Labels
enhancement New feature or request

Comments

@capt-nemo429
Copy link
Member

Some use cases requires querying a box for multiple Token IDs.

Example:

If I want to fetch all boxes which contains tokenA and tokenB, I will pass Token IDs in containsTokens param and only boxes that contains both tokens will be returned.

Remarks

  • I think 5 tokenIds per query is a reasonable limit
  • Since conventionally we use multiple IDs as OR operator, would be good to make this different than other, so I suggest calling it containsTokens.
@capt-nemo429 capt-nemo429 added the enhancement New feature or request label Dec 14, 2022
@SepehrGanji SepehrGanji linked a pull request Dec 21, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants