verifySignature
1
verifySignature(text, xpubkey, signature);
Copied!

Parameters

text: plain text
xpubkey: public key of your wallet. You can get this xpubkey when you connect to the wallet
signature: signed string

Returns

1
true // verified
Copied!
or
1
false // verification failed
Copied!
Copy link