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 getMfaConfig(): Promise<MfaConfig>;
Gets the MFA configuration for the current project. This endpoint returns information about whether MFA is enabled for the project and the configuration for TOTP authentication.

Returns

Promise<MfaConfig> The MFA configuration for the project.

Example

const result = await getMfaConfig();
if (result?.totpConfig?.enabled) {
  console.log("TOTP MFA is enabled for this project");
}