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

getUtxosByOutRef consistency across providers #212

Open
ItsDaveB opened this issue Aug 20, 2023 · 0 comments
Open

getUtxosByOutRef consistency across providers #212

ItsDaveB opened this issue Aug 20, 2023 · 0 comments

Comments

@ItsDaveB
Copy link

ItsDaveB commented Aug 20, 2023

Firstly i'd like to say, this project is amazing, and I really value the work that has been done here.

I have been using the getUtxosByOutRef function to retrieve utxos for a transaction, it works great because the collectFrom requires the Utxo model to be in a certain specified Lucid format, so I could not use the Blockfrost response directly for example.

However I am using a mixture of providers, Blockfrost & Kupmios, I've noticed the Kupmios provider filters getUtxosByOutRef by unspent, where Blockfrost doesn't, which in turn was giving me some strange results depending on provider used.

Getting utxos that are not spent in here, is also really useful, especially when reclaiming a DEX order for example. Is it possible to have the option of excluding unspent potentially as a parameter in each of these providers maybe to keep consistently :) as currently I am forced to use the blockfrost implementation in conjunction with the collectFrom implementation.

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

1 participant