useDecrypt
Usage
connect() must be called and a connection must be initiated before account information will be returned.
The useDecrypt hook is a React Hook wrapper around the createEvent function
import { useDecrypt } from '@puzzlehq/sdk';
const { decrypt, data, loading, error } = useDecrypt();Types
See the decrypt page for types.