Cold Wave
-
Transaction
- Add calculation strategies to modify how inputs are selected. Current available strategies are
smallestFirst
,biggestFirst
andbalancedApproach
. Currently only available as a global setting.
import { tx, settings } from '@cityofzion/neon-js' // Change the strategy to use the biggest valued output available. settings.defaultCalculationStrategy = tx.calculationStrategy.biggestFirst // See all available strategies console.log(tx.calculationStrategy)
- Add calculation strategies to modify how inputs are selected. Current available strategies are