Docs

SiweAuthOptions

Options for Setting up SIWE (Sign in with Ethereum) Authentication

type SiweAuthOptions = {
doLogin: (params: VerifyLoginPayloadParams) => Promise<void>;
doLogout: () => Promise<void>;
getLoginPayload: (params: {
address: string;
chainId: number;
}) => Promise<LoginPayload>;
isLoggedIn: (address: string) => Promise<boolean>;
};