Skip to content

useRequestSignature

Usage

connect() must be called and a connection must be initiated before account information will be returned.

The useRequestSignature hook is a React Hook wrapper around the requestSignature function

import { useRequestSignature } from '@puzzlehq/sdk';
const { requestSignature, response, loading, error } = useRequestSignature("hi friends!");

Types

See the requestSignature page for types.