Aller au contenu

DisplayEmbeddedWalletParamsType

Ce contenu n’est pas encore disponible dans votre langue.

DisplayEmbeddedWalletParamsType = { loggedIn?: LoggedInEmbeddedView; loggedOut?: LoggedOutEmbeddedView; metadata?: { homepageLink?: string; i18n?: I18nConfig; logo?: string; position?: "left" | "right"; targetInteraction?: InteractionTypeKey; }; }

Defined in: types/rpc/embedded/index.ts:23

The params used to display the embedded wallet

optional loggedIn?: LoggedInEmbeddedView

Defined in: types/rpc/embedded/index.ts:27

The embedded view to display once the user is logged in


optional loggedOut?: LoggedOutEmbeddedView

Defined in: types/rpc/embedded/index.ts:31

The embedded view to display once the user is logged out


optional metadata?: { homepageLink?: string; i18n?: I18nConfig; logo?: string; position?: "left" | "right"; targetInteraction?: InteractionTypeKey; }

Defined in: types/rpc/embedded/index.ts:35

Some metadata to customize the embedded view

optional homepageLink?: string

Link to the homepage of the calling website If undefined, will default to the domain of the calling website

optional i18n?: I18nConfig

Some i18n override for the displayed modal (i.e. update the displayed text only for this modal)

optional logo?: string

The logo to display on the embedded wallet If undefined, will default to no logo displayed

optional position?: "left" | "right"

The position of the component

optional targetInteraction?: InteractionTypeKey

The target interaction behind this modal