Skip to main content
Gets the identity public key of the SparkWallet.

Method Signature

async getIdentityPublicKey(): Promise<string>

Returns

identityPublicKey
string
required
The identity public key as a hex string

Example

const identityPubKey = await wallet.getIdentityPublicKey();
console.log("Identity Public Key:", identityPubKey);