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