Skip to main content

WindowAppReadyEventAPI

@iota/wallet-standard


@iota/wallet-standard / WindowAppReadyEventAPI

Interface: WindowAppReadyEventAPI

Defined in: node_modules/.pnpm/@[email protected]/node_modules/@wallet-standard/base/lib/types/window.d.ts:38

Interface that will be provided to Wallets by the app when the app calls the WindowRegisterWalletEventCallback provided by Wallets.

Wallets must call the register method to register themselves.

Methods

register()

register(wallet): () => void

Defined in: node_modules/.pnpm/@[email protected]/node_modules/@wallet-standard/base/lib/types/window.d.ts:47

Register a Wallet with the app.

Parameters

wallet

Wallet

Returns

unregister function to programmatically unregister the Wallet.

Wallets generally do not need to, and should not, call this.

() => void