public interface UtxoSelectionStrategy
| Modifier and Type | Method and Description |
|---|---|
default boolean |
ignoreUtxosWithDatumHash() |
java.util.List<Utxo> |
selectUtxos(java.lang.String address,
java.lang.String unit,
java.math.BigInteger amount,
java.util.Set<Utxo> excludeUtxos)
Selected utxos based on a strategy
|
java.util.List<Utxo> |
selectUtxos(java.lang.String address,
java.lang.String unit,
java.math.BigInteger amount,
java.lang.String datumHash,
java.util.Set<Utxo> excludeUtxos)
Selected utxos based on a strategy
|
default void |
setIgnoreUtxosWithDatumHash(boolean ignoreUtxosWithDatumHash)
Set if utxos with datum hash need to be ignored or not
|
java.util.List<Utxo> selectUtxos(java.lang.String address, java.lang.String unit, java.math.BigInteger amount, java.util.Set<Utxo> excludeUtxos) throws ApiException
address - Address to select utxos forunit - Unitamount - AmountexcludeUtxos - Utxos to ignoreApiExceptionjava.util.List<Utxo> selectUtxos(java.lang.String address, java.lang.String unit, java.math.BigInteger amount, java.lang.String datumHash, java.util.Set<Utxo> excludeUtxos) throws ApiException
address - Address to select utxos forunit - Unitamount - AmountdatumHash - DatumHash to compareexcludeUtxos - Utxos to ignoreApiExceptiondefault boolean ignoreUtxosWithDatumHash()
default void setIgnoreUtxosWithDatumHash(boolean ignoreUtxosWithDatumHash)
ignoreUtxosWithDatumHash -