Get the wallet’s identity public key as hex string.
SparkWallet
async getIdentityPublicKey(): Promise<string>
const identityPubKey = await wallet.getIdentityPublicKey(); console.log("Identity Public Key:", identityPubKey);