Skip to main content
Mints new tokens to increase the circulating supply for the IssuerSparkWallet.

Method Signature

async function mintTokens(tokenAmount: bigint): Promise<string>;

Parameters

tokenAmount
bigint
required
The amount to mint (eg: 1000n)

Returns

txId
string
required
Transaction ID

Example

const txId = await issuerWallet.mintTokens(1000n);
console.log("Tokens minted:", txId);