WrappedSignature.fromHex
Parses an ERC-6492 wrapped signature into its constituent parts.
Imports
Named
import { WrappedSignature } from 'ox/erc6492'
Examples
import { WrappedSignature } from 'ox/erc6492'
const { data, signature, to } = WrappedSignature.fromHex('0x...')
Definition
function fromHex(
wrapped: Hex.Hex,
): WrappedSignature
Source: src/erc6492/WrappedSignature.ts
Parameters
wrapped
- Type:
Hex.Hex
Wrapped signature to parse.
Return Type
Wrapped signature.