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.

interface WindowAppReadyEventAPI {
    register(wallet: Wallet): (() => void);
}

Methods

Methods

  • Register a Wallet with the app.

    Parameters

    Returns (() => void)

    unregister function to programmatically unregister the Wallet.

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

      • (): void
      • Returns void