useWalletDisconnector
Callable
Parameters
optionalwallets: any
Wallets to disconnect from, will disconnect from all connected wallets if none is specified
Returns { data: Ref<void, void>; error: Ref<unknown, unknown>; execute: (...args: [wallets?: any]) => Promise<void>; status: Ref<error | idle | pending | success, error | idle | pending | success> }
The wallet disconnection state & disconnect function
data: Ref<void, void>
error: Ref<unknown, unknown>
execute: (...args: [wallets?: any]) => Promise<void>
Parameters
rest...args: [wallets?: any]
Returns Promise<void>
status: Ref<error | idle | pending | success, error | idle | pending | success>
Composable for disconnecting wallets