embeddedWallet

function embeddedWallet(

Parameters

Optional object containing the following properties to configure the wallet

auth (optional)

Choose which auth providers to show in the wallet connection UI

By default, all auth methods are enabled, which is equivalent to setting the following:

{
options: ["email", "google", "apple", "facebook"];
}

recommended (optional)

If true, the wallet will be tagged as "recommended" in ConnectWallet Modal UI

onAuthSuccess (optional)

A callback function that will be called when the user successfully authenticates with the wallet. The callback is called with the authResult object

Type

Returns

let returnType: WalletConfig<EmbeddedWallet>;