> For the complete documentation index, see [llms.txt](https://hathor-federation.gitbook.io/use-hathorpay-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hathor-federation.gitbook.io/use-hathorpay-docs/functions/api-reference/verifysignature.md).

# 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
```
