The estimateFusion method counts the number of unspent outputs of the specified addresses and returns how many of those outputs can be optimized.

back to methods summary

This method is used to understand if a fusion transaction can be created. If fusionReadyCount returns a value = 0, then a fusion transaction cannot be created.


threshold Yes Value that determines which outputs will be optimized1)uint641000000
addresses No Array of string2)array


totalOutputCountTotal number of unspent outputs of the specified addresses.uint641000
fusionReadyCountNumber of outputs that can be optimized.uint6450

Input example:


Output example:


back to methods summary

Only the outputs, lesser than the threshold value, will be included into a fusion transaction.
where each string is an address to take the funds from.