Skip to main content

Interface: EmbeddedProviderConfig

Defined in: types.ts:16

Configuration options for EmbeddedProvider.

Example

const config: EmbeddedProviderConfig = {
iframeUrl: 'https://keawallet.com/embedded',
addressTypes: ['thru'],
};
const provider = new EmbeddedProvider(config);

Properties

PropertyTypeDescriptionDefined in
addressTypes?"thru"[]Which chain address types to enable. Defaults to ['thru']. Currently only 'thru' is supported.types.ts:28
iframeUrl?stringURL of the wallet's /embedded page. Defaults to DEFAULT_IFRAME_URL (https://keawallet.com/embedded). Use http://localhost:... during local development.types.ts:23