verifySignature

verifySignature(text, xpubkey, signature);

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

true // verified
or
false // verification failed