You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When interacting with multi-address wallets, there may be tons of addresses that a user wallet controls. Usually few of them hold UTxOs. Moreover browser wallets usually cache these UTxOs anyways and allow to retreive them quickly.
When using pycardano to build a transaction for a browser wallet using TxBuilder, currently the only way for interaction is adding all of these addresses to the input_addresses. The TxBuilder will then fetch all addresses again - which may be very slow.
If you add all UTxOs of the wallet as inputs than necessarily all inputs will be consumed, which is also not necessarily desireable as it may make the transaction too big and decreases parallelizability of future tx builds (generating only one output)
Describe the solution you'd like
A parameter to the TxBuilder that allows passing a list of UTxOs that may be used by the coin selection algorithm, but do not need to be included in the tx as inputs.
Describe alternatives you've considered
None
Additional context
Useful when building dApps with PyCardano.
Is your feature request related to a problem? Please describe.
When interacting with multi-address wallets, there may be tons of addresses that a user wallet controls. Usually few of them hold UTxOs. Moreover browser wallets usually cache these UTxOs anyways and allow to retreive them quickly.
When using pycardano to build a transaction for a browser wallet using TxBuilder, currently the only way for interaction is adding all of these addresses to the input_addresses. The TxBuilder will then fetch all addresses again - which may be very slow.
If you add all UTxOs of the wallet as inputs than necessarily all inputs will be consumed, which is also not necessarily desireable as it may make the transaction too big and decreases parallelizability of future tx builds (generating only one output)
Describe the solution you'd like
A parameter to the TxBuilder that allows passing a list of UTxOs that may be used by the coin selection algorithm, but do not need to be included in the tx as inputs.
Describe alternatives you've considered
None
Additional context
Useful when building dApps with PyCardano.
CIP30 defines a function that will return all UTxOs from the wallet: https://cips.cardano.org/cips/cip30/#apigetutxosamountcborvalueundefinedpaginatepaginateundefinedpromisetransactionunspentoutputnull
The text was updated successfully, but these errors were encountered: