> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# SignatureErc6492.assert

:::info
`SignatureErc6492.assert` is a re-export of ox's [`SignatureErc6492.assert`](https://oxlib.sh/ercs/erc6492/SignatureErc6492/assert). Refer to the ox documentation for the full reference.
:::

Asserts that the wrapped signature is valid.

## Imports

```ts
import { SignatureErc6492 } from 'viem/utils'
```

## Examples

```ts twoslash
// @noErrors
import { SignatureErc6492 } from 'viem/utils'

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

## Definition

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

## 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`
