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

# getTokenOutputStats

> Get token output statistics including count and total amount.

Gets statistics about token outputs in the wallet.

## Method Signature

```typescript theme={null}
async getTokenOutputStats(
  tokenIdentifier: Bech32mTokenIdentifier
): Promise<{
  outputCount: number;
  totalAmount: bigint;
}>
```

## Parameters

<ResponseField name="tokenIdentifier" type="Bech32mTokenIdentifier" required>
  Token identifier to get stats for.
</ResponseField>

## Returns

<ResponseField name="outputCount" type="number" required>
  Number of token outputs
</ResponseField>

<ResponseField name="totalAmount" type="bigint" required>
  Total amount across all outputs
</ResponseField>

## Example

```typescript theme={null}
// Get stats for a specific token
const stats = await wallet.getTokenOutputStats("btkn1...");
console.log("Output count:", stats.outputCount);
console.log("Total amount:", stats.totalAmount);
```
