Skip to content


The getUser method is used to look up if a user already exists for a given email address


import { signer } from "./signer";

const result = await signer.getUser("[email protected]");
import { AlchemySigner } from "@alchemy/aa-alchemy";

export const signer = new AlchemySigner({
  client: {
    // This is created in your dashboard under ``
    // NOTE: it is not recommended to expose your API key on the client, instead proxy requests to your backend and set the `rpcUrl`
    // here to point to your backend.
    connection: { apiKey: "alcht_<KEY>" },
    iframeConfig: {
      // you will need to render a container with this id in your DOM
      iframeContainerId: "turnkey-iframe-container",


Promise<{orgId: string} | null> -- if a user exists, this will return an object with the orgId of the user. If no user exists, this will return null.