> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ethVerifyMessage

```ts theme={null}
function ethVerifyMessage(message, sig): string
```

Return the address of the private key that produced the signature `sig` during signing for `message`.

This is the same as `verifyMessage` except it uses `EthMessagePrefix` instead of `MessagePrefix` and is available for
broader compatibility with EVM signing practices.

## Parameters

| Parameter | Type                                                       | Description                  |
| :-------- | :--------------------------------------------------------- | :--------------------------- |
| `message` | `string` \| `Uint8Array`                                   | The message that was signed. |
| `sig`     | [`SignatureLike`](/sdk/content/type-aliases/SignatureLike) | The signature to verify.     |

## Returns

`string`

The address of the signer.

## Source

[hash/message.ts:93](https://github.com/dominant-strategies/quais.js/blob/fb5056470a1764523d26300fe8f88b8fb93d7f2c/src/hash/message.ts#L93)
