Skip to content

Type Alias: WalletRegisterOptions

type WalletRegisterOptions: {
  chainId: string;
};

Options for the register function.

Type declaration

chainId?

optional chainId: string;

The ID of the default chain to connect to, if it exists in the Happy Wallet.

If the chain with the given ID hasn't been added to the Happy Wallet yet, this will be ignored, and you must add and switch to chain once the user is connected

Defined in

packages/sdk-vanillajs/lib/register.ts:9