Skip to main content
Version: 0.13.0

tx.coinselector.hvfselector

Home > @blaze-cardano/tx > CoinSelector > hvfSelector

CoinSelector.hvfSelector variable

This coin selection algorithm follows a Highest Value First (HVF) function, taking into consideration things like fee estimation. Inspiration taken from Lucid Evolution: https://github.com/Anastasia-Labs/lucid-evolution/blob/main/packages/lucid/src/tx-builder/internal/CompleteTxBuilder.ts\#L789

Signature:

hvfSelector: CoinSelectionFunc