> For the complete documentation index, see [llms.txt](https://circular-protocol.gitbook.io/standard-apis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://circular-protocol.gitbook.io/standard-apis/api-docs/node.js/verifysignature.md).

# verifySignature()

**Method signature**

```javascript
function verifySignature(publicKey, message, signature)
```

**Parameters**

| Name        | Type   | Description                        |
| ----------- | ------ | ---------------------------------- |
| `publicKey` | string | Public key in hexadecimal format.  |
| `message`   | string | Message that you want to verify    |
| `signature` | string | Signature that you want to compare |

**Example**

```javascript
var publicKey = "0x04b5aa6be8b2e3420fb5a8b22e80e64ace8271d88dc4c081436956b0848e7bcf4e864b35c59e218885ed3d839352b81f85872c9460732ca05b8c18dad29dbad00e";
var message = "Hello, World!";
var signature = "0x9f1dd25076c04c5139acba458f86cdccd2d322c61d19bc28daa3bbd9450837af";

CircularProtocolAPI.verifySignature(publicKey, message, signature);
```

**Result**

The result will be a boolean object.

```javascript
true
```
