> ## 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.

# optimizeTokenOutputs

> Consolidate token outputs for improved performance.

Optimizes token outputs by consolidating them when there are more than the configured threshold.

## Method Signature

```typescript theme={null}
async optimizeTokenOutputs(): Promise<void>
```

## Returns

This method returns nothing and resolves to `void`.

## Example

```typescript theme={null}
await wallet.optimizeTokenOutputs();
console.log("Token outputs optimized");
```
