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

# mintTokens

> Mint new tokens to increase circulating supply.

Mints new tokens to increase the circulating supply for the `IssuerSparkWallet`.

## Method Signature

```typescript theme={null}
async mintTokens({
  tokenAmount,
  tokenIdentifier,
}: {
  tokenAmount: bigint;
  tokenIdentifier: Bech32mTokenIdentifier;
}): Promise<string>
```

## Parameters

<ResponseField name="tokenAmount" type="bigint" required>
  The amount to mint (e.g., `1000n`)
</ResponseField>

<ResponseField name="tokenIdentifier" type="Bech32mTokenIdentifier" required>
  The token identifier to mint.
</ResponseField>

## Returns

<ResponseField name="txId" type="string" required>
  Transaction ID
</ResponseField>

## Example

```typescript theme={null}
const tokenIdentifiers = await issuerWallet.getIssuerTokenIdentifiers();
const tokenId = tokenIdentifiers[0];
if (!tokenId) {
  throw new Error("No issuer token found");
}

const txId = await issuerWallet.mintTokens({
  tokenAmount: 5000n,
  tokenIdentifier: tokenId,
});

console.log("Tokens minted:", txId);
```
