> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EnrollMfaContextValue

The value of the EnrollMfa context.

## See

[useEnrollMfaContext](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Hooks/useEnrollMfaContext)

## Properties

| Property                                      | Type                                                                                                          | Description                                         |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| <a id="state" /> `state`                      | [`EnrollMfaState`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/EnrollMfaState)                  | The current state of the enrollment flow.           |
| <a id="dispatch" /> `dispatch`                | `Dispatch`\<[`EnrollMfaAction`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/EnrollMfaAction)> | The dispatch function to update the state.          |
| <a id="onenrollsuccess" /> `onEnrollSuccess?` | () => `void`                                                                                                  | The function to call when enrollment is successful. |
