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

Filter results using from and to parameters in "Address UTXOs of a given asset" endpoint #46

Open
fabioDMFerreira opened this issue Dec 30, 2022 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fabioDMFerreira
Copy link

As in "Address transactions" it would be useful to get the UTXOs of a specific token that are between two blocks.

@1000101
Copy link
Contributor

1000101 commented Jan 2, 2023

Hi! Would you mind sharing a use case? Thanks!

@fabioDMFerreira
Copy link
Author

I'd like to know the number of new transactions after a specific block. Without this parameter, I have to blindly request a set of transactions and check for the transactions since a particular block programmatically.

It is a question of UX and keeping consistency with other endpoints specifications like https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1%7Baddress%7D~1transactions/get.

@mmahut
Copy link
Member

mmahut commented Jan 10, 2023

@fabioDMFerreira are you sure you mean UTXOs and not transactions?

@fabioDMFerreira
Copy link
Author

fabioDMFerreira commented Jan 10, 2023

At the moment it doesn't seem possible to filter the transactions by a specific asset. I am using this UTXO endpoint as an alternative.

@mmahut
Copy link
Member

mmahut commented Jan 10, 2023

@fabioDMFerreira I think you are looking for the /assets/{asset}/transactions endpoint.

How it can be an alternative? What if that UTXO is used?

@fabioDMFerreira
Copy link
Author

fabioDMFerreira commented Jan 16, 2023

@mmahut This endpoint doesn't allow filtering the transactions by wallet address.

@mmahut mmahut added enhancement New feature or request help wanted Extra attention is needed labels Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants