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/Signature.ts
Parameters
v
- Type:
number
The ECDSA v
value to convert.
Return Type
The yParity
value.
Signature['yParity']
Error Type
Signature.vToYParity.ErrorType