Interface ISweepPolicy
Determines which coins should be consolidated (swept) into a single VTXO. Register multiple policies to combine different consolidation strategies (e.g., time-based expiry, dust collection, fee optimization).
public interface ISweepPolicy
Methods
SweepAsync(IEnumerable<ArkCoin>, CancellationToken)
Yields coins that should be swept from the given set.
IAsyncEnumerable<ArkCoin> SweepAsync(IEnumerable<ArkCoin> coins, CancellationToken cancellationToken = default)
Parameters
coinsIEnumerable<ArkCoin>cancellationTokenCancellationToken