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