# SignatureErc8010.validate

Validates a wrapped signature. Returns `true` if the wrapped signature is valid, `false` otherwise.

## Imports

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

```ts [Entrypoint]
import * as SignatureErc8010 from 'ox/erc8010/SignatureErc8010'
```
:::

## Examples

```ts twoslash
import { SignatureErc8010 } from 'ox/erc8010'

const valid = SignatureErc8010.validate('0xdeadbeef')
// @log: false
```

## Definition

```ts
function validate(
  value: Unwrapped | Wrapped,
): boolean
```

**Source:** [src/erc8010/SignatureErc8010.ts](https://github.com/wevm/ox/blob/main/src/erc8010/SignatureErc8010.ts#L267)

## Parameters

### value

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

The value to validate.

#### value.authorization

* **Type:** `{ address: abitype_Address; chainId: number; nonce: bigint; r: 0x${string}; s: 0x${string}; yParity: number; }`

Authorization signed by the delegatee.

#### value.data

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

Data to initialize the delegation.

#### value.signature

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

The original signature.

#### value.to

* **Type:** `Address.Address | undefined`
* **Optional**

Address of the initializer.

## Return Type

`true` if the value is valid, `false` otherwise.

`boolean`
