- Preparing search index...
- The search index is not available
Stacks Connect
- useConnect(): {
authData: FinishedAuthData;
authOptions: AuthOptions;
authenticate: ((authOptions: AuthOptions, provider?: StacksProvider) => Promise<void>);
doAuth: ((options?: Partial<AuthOptions>, provider?: StacksProvider) => void);
doContractCall: ((options: ContractCallOptions, provider?: StacksProvider) => Promise<void>);
doContractDeploy: ((options: ContractDeployOptions, provider?: StacksProvider) => Promise<void>);
doOpenAuth: ((signIn?: boolean, options?: Partial<AuthOptions>, provider?: StacksProvider) => void);
doProfileUpdate: ((options: ProfileUpdateRequestOptions, provider?: StacksProvider) => Promise<void>);
doSTXTransfer: ((options: STXTransferOptions, provider?: StacksProvider) => Promise<void>);
isAuthenticating: boolean;
isOpen: boolean;
sign: ((options: SignatureRequestOptions, provider?: StacksProvider) => Promise<void>);
signPsbt: ((options: PsbtRequestOptions, provider?: StacksProvider) => Promise<void>);
signStructuredData: ((options: StructuredDataSignatureRequestOptions, provider?: StacksProvider) => Promise<void>);
userSession: UserSession;
}
-
Whether the user should be sent to sign in