# Check signature

This is *ecRecover* function. Recovers the account that signed the data.

### &#x20;<mark style="background-color:blue;">Parameters</mark>&#x20;

<table><thead><tr><th width="220.33333333333331">Parameter name</th><th width="87">Type</th><th>Description</th></tr></thead><tbody><tr><td>Data that was signed</td><td>Text</td><td>Data that was used to sign, must be exactly the same, changing any character will result in incorrect results.</td></tr><tr><td>Signature</td><td>Text</td><td>The signature that was received after signing</td></tr></tbody></table>

### &#x20;<mark style="background-color:blue;">Events</mark>&#x20;

<table><thead><tr><th width="200">Event name</th><th>Description</th></tr></thead><tbody><tr><td>Signature Checked</td><td></td></tr></tbody></table>

### &#x20;<mark style="background-color:blue;">States</mark>&#x20;

<table><thead><tr><th width="237.33333333333331">State name</th><th width="76">Type</th><th>Description</th></tr></thead><tbody><tr><td>Sign: Signed by Address</td><td>Text</td><td>Contains the wallet address whose signature it is. Compare it to the connected wallet address to see if it is the same address.</td></tr></tbody></table>
