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 submitMfaVerification(options: SubmitMfaVerificationOptions): Promise<void>;
Submits an MFA code to complete the verification process. After successful verification, any pending operation that was waiting for MFA will automatically continue.

Parameters

ParameterTypeDescription
optionsSubmitMfaVerificationOptionsThe options for the verification.

Returns

Promise<void> A promise that resolves if MFA verification is successful.

Example

// TOTP verification
await submitMfaVerification({
  mfaMethod: "totp",
  mfaCode: "123456"
});

// SMS verification
await submitMfaVerification({
  mfaMethod: "sms",
  mfaCode: "654321"
});