Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spark.money/llms.txt

Use this file to discover all available pages before exploring further.

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");