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

# EnrollMfaContextValue

The value of the EnrollMfa context.

## See

[useEnrollMfaContext](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Hooks/useEnrollMfaContext.md)

## Properties

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