Skip to main content

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.

function getEnabledMfaMethods(): MfaMethod[];
Gets the list of MFA methods enabled in the project configuration.

Returns

MfaMethod[] An array of enabled MFA methods.

Example

const config = getMfaConfigState();
if (config) {
  const methods = getEnabledMfaMethods(config);
  // methods = ['totp', 'sms']
}