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.

Gets the current wallet settings.

Method Signature

async getWalletSettings(): Promise<WalletSettings | undefined>

Returns

settings
WalletSettings | undefined
required
Current wallet settings, or undefined if not available

Example

const settings = await wallet.getWalletSettings();
if (settings) {
  console.log("Privacy enabled:", settings.privateEnabled);
}