Return type of the useSignature hook.
const { sign, verify, signature, isValid }: UseSignatureResult = useSignature(); Copy
const { sign, verify, signature, isValid }: UseSignatureResult = useSignature();
Sign a message. Returns the hex-encoded signature.
Verify a signature. Returns true if valid.
The last produced hex-encoded signature.
The result of the last verify() call.
verify()
True while a sign or verify operation is in progress.
Return type of the useSignature hook.
Example