# SignatureErc6492.assert

Asserts that the wrapped signature is valid.

## Imports

:::code-group
```ts [Named]
import { SignatureErc6492 } from 'ox/erc6492'
```

```ts [Entrypoint]
import * as SignatureErc6492 from 'ox/erc6492/SignatureErc6492'
```
:::

## Examples

```ts twoslash
import { SignatureErc6492 } from 'ox/erc6492'

SignatureErc6492.assert('0xdeadbeef')
// @error: InvalidWrappedSignatureError: Value `0xdeadbeef` is an invalid ERC-6492 wrapped signature.
```

## Definition

```ts
function assert(
  value: Unwrapped | Wrapped,
): void
```

**Source:** [src/erc6492/SignatureErc6492.ts](https://github.com/wevm/ox/blob/main/src/erc6492/SignatureErc6492.ts#L291)

## Parameters

### value

* **Type:** `Unwrapped | Wrapped`

The value to assert.

#### value.data

* **Type:** `0x${string}`

Calldata to pass to the target address for counterfactual verification.

#### value.signature

* **Type:** `0x${string}`

The original signature.

#### value.to

* **Type:** `abitype_Address`

The target address to use for counterfactual verification.

## Return Type

`void`
