Docs

PayEmbedConnectOptions

Connection options for the PayEmbed component

type PayEmbedConnectOptions = {
accountAbstraction?: SmartWalletOptions;
appMetadata?: AppMetadata;
autoConnect?: { timeout: number } | boolean;
chain?: Chain;
chains?: Array<Chain>;
recommendedWallets?: Array<Wallet>;
showAllWallets?: boolean;
walletConnect?: { projectId?: string };
wallets?: Array<Wallet>;
};

Example

<PayEmbed
client={client}
connectOptions={{
connectModal: {
size: "compact",
title: "Sign in",
},
}}
/>;