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