UNPKG

@avalabs/avalanchejs

Version:
7 lines 673 B
import type { Utxo } from '../../../serializable/avax/utxo'; import type { Address } from '../../../serializable/fxs/common'; import type { SpendOptionsRequired } from '../../common'; import type { UTXOCalculationFn, UTXOCalculationResult } from './models'; export declare const defaultSpendResult: () => UTXOCalculationResult; export declare function calculateUTXOSpend(amountsToBurn: Map<string, bigint> | undefined, amountsToStake: Map<string, bigint> | undefined, utxos: Utxo[], fromAddresses: Address[], options: SpendOptionsRequired, utxoCalculationFns: [UTXOCalculationFn, ...UTXOCalculationFn[]]): UTXOCalculationResult; //# sourceMappingURL=calculateSpend.d.ts.map