Skip to main content

Interface: ConnectOptions

Defined in: types.ts:44

Options passed to EmbeddedProvider.connect.

Example

await provider.connect({
metadata: {
appName: 'My dApp',
appUrl: window.location.origin,
},
});

Properties

PropertyTypeDescriptionDefined in
metadata?Partial<AppMetadata>Optional metadata about the connecting dApp shown on the wallet consent screen. Including metadata enables auto-approval for returning users.types.ts:49