# Signature.yParityToV

Converts a ECDSA `v` value to a `yParity` value.

## Imports

:::code-group
```ts [Named]
import { Signature } from 'ox'
```

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

## Examples

```ts twoslash
import { Signature } from 'ox'

const v = Signature.yParityToV(1)
// @log: 28
```

## Definition

```ts
function yParityToV(
  yParity: number,
): number
```

**Source:** [src/core/Signature.ts](https://github.com/wevm/ox/blob/main/src/core/Signature.ts#L1010)

## Parameters

### yParity

* **Type:** `number`

The ECDSA `yParity` value to convert.

## Return Type

The `v` value.

`number`
