@kazeblockchain/krypton-js
Version:
Javascript libraries for kaze wallet using https://github.com/kazechainio/kazewallet/blob/master/js/wallet.js as the original source.
9 lines (5 loc) • 363 B
TypeScript
import { AssetBalance, Coin } from '../../wallet';
import { Fixed8 } from '../../utils';
export function smallestFirst(assetBalance: AssetBalance, requiredAmt: Fixed8): Coin[]
export function biggestFirst(assetBalance: AssetBalance, requiredAmt: Fixed8): Coin[]
export function balancedApproach(assetBalance: AssetBalance, requiredAmt: Fixed8): Coin[]