WrappedSignature.validate
Validates a wrapped signature. Returns true
if the wrapped signature is valid, false
otherwise.
Imports
Named
import { WrappedSignature } from 'ox/erc6492'
Examples
import { WrappedSignature } from 'ox/erc6492'
const valid = WrappedSignature.validate('0xdeadbeef')
false
Definition
function validate(
wrapped: Hex.Hex,
): boolean
Source: src/erc6492/WrappedSignature.ts
Parameters
wrapped
- Type:
Hex.Hex
The wrapped signature to validate.
Return Type
true
if the wrapped signature is valid, false
otherwise.
boolean