Skip to content

Signature.vToYParity

Converts a ECDSA v value to a yParity value.

Imports

Named
import { Signature } from 'ox'

Examples

import { Signature } from 'ox'
 
const yParity = Signature.vToYParity(28)
1

Definition

function vToYParity(
  v: number,
): Signature['yParity']

Source: src/core/Signature.ts

Parameters

v

  • Type: number

The ECDSA v value to convert.

Return Type

The yParity value.

Signature['yParity']