Skip to main content

useAccounts

Callable

  • useAccounts(options?: ChainComposableOptions): DeepReadonly<MutableAsyncState<any, unknown, undefined>> & { refresh: () => void } & PromiseLike<AsyncState<any, unknown, any>>

  • Composable for getting currently connected accounts.


    Parameters

    • optionaloptions: ChainComposableOptions

      Additional options

    Returns DeepReadonly<MutableAsyncState<any, unknown, undefined>> & { refresh: () => void } & PromiseLike<AsyncState<any, unknown, any>>

    The currently connected accounts