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 useLinkEmail(): {
  linkEmail: (email: string, options?: {
     idempotencyKey?: string;
   }) => Promise<{
     flowId: string;
     message: string;
  }>;
};
A hook for linking an email account to the current user.

Returns

An object containing the linkEmail function.
NameType
linkEmail()(email: string, options?: { idempotencyKey?: string; }) => Promise<{ flowId: string; message: string; }>