> For the complete documentation index, see [llms.txt](https://polkadot.novabloq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkadot.novabloq.com/element-polkadot-keyring/actions/verify-signature.md).

# Verify Signature

Verify if the signature is valid

## Setup

First of all, you will need the signature itself from the sign message action, so make sure you save it somewhere in the database.

![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2FmsU84FX4bh93zBnX2FXY%2FScreenshot%202022-02-09%20at%2018.04.14.png?alt=media\&token=7f1c5b7b-8282-4d15-93df-c779c445fbfa)

### State - Signature is Valid

The state is of Yes/No type.

## Demo

To try this feature on our demo page, you need to add a pair, load all pairs and sign a message first, then a popup will be shown with the signature, in this popup you can verify the signature.

It is easier than it sounds :) \
\
![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2FozfdRy50AHBzMxHB8DDV%2FScreenshot%202022-02-09%20at%2018.10.17.png?alt=media\&token=b4073177-60c6-4628-9c6b-aaf356787e83)\ <br>
