UseDisconnectResult
Defined in: packages/react/src/hooks/useDisconnect.ts:10
Properties
Section titled “Properties”disconnect()
Section titled “disconnect()”disconnect: () =>
void
Defined in: packages/react/src/hooks/useDisconnect.ts:12
Disconnect from the wallet
Returns
Section titled “Returns”void
disconnectAsync()
Section titled “disconnectAsync()”disconnectAsync: () =>
Promise<void>
Defined in: packages/react/src/hooks/useDisconnect.ts:14
Disconnect async with promise return
Returns
Section titled “Returns”Promise<void>
error:
Error|null
Defined in: packages/react/src/hooks/useDisconnect.ts:20
Error from the last disconnect attempt
isError
Section titled “isError”isError:
boolean
Defined in: packages/react/src/hooks/useDisconnect.ts:18
Whether the last disconnect attempt failed
isPending
Section titled “isPending”isPending:
boolean
Defined in: packages/react/src/hooks/useDisconnect.ts:16
Whether a disconnect is in progress
reset()
Section titled “reset()”reset: () =>
void
Defined in: packages/react/src/hooks/useDisconnect.ts:22
Reset the mutation state
Returns
Section titled “Returns”void