Skip to main content
Optimizes token outputs by consolidating them when there are more than the configured threshold.

Method Signature

async optimizeTokenOutputs(): Promise<void>

Returns

This method returns nothing and resolves to void.

Example

await wallet.optimizeTokenOutputs();
console.log("Token outputs optimized");