SignaturePreAuthorized.validate
Validates a wrapped pre-authorized signature. Returns true if it decodes strictly, false otherwise.
This checks the encoding only. It does not verify either signature or read chain state.
Imports
Named
import { SignaturePreAuthorized } from 'ox/tempo'Examples
import { SignaturePreAuthorized } from 'ox/tempo'
const valid = SignaturePreAuthorized.validate('0xdeadbeef')
falseDefinition
function validate(
wrapped: Wrapped,
): booleanSource: src/tempo/SignaturePreAuthorized.ts
Parameters
wrapped
- Type:
Wrapped
The wrapped signature to validate.
Return Type
true if the wrapped signature is valid, false otherwise.
boolean

