Skip to content

WalletEvents

type WalletEvents = {
accountChanged: CustomEvent<IAccount>;
connect: CustomEvent<AccountNetwork>;
disconnect: CustomEvent;
error: CustomEvent<Error>;
networkChanged: CustomEvent<AccountNetwork>;
stateChanged: CustomEvent<WalletSupportType>;
};

Defined in: packages/iso-filecoin-wallets/src/types.ts:17

Properties

accountChanged

accountChanged: CustomEvent<IAccount>;

Defined in: packages/iso-filecoin-wallets/src/types.ts:18


connect

connect: CustomEvent<AccountNetwork>;

Defined in: packages/iso-filecoin-wallets/src/types.ts:21


disconnect

disconnect: CustomEvent;

Defined in: packages/iso-filecoin-wallets/src/types.ts:20


error

error: CustomEvent<Error>;

Defined in: packages/iso-filecoin-wallets/src/types.ts:22


networkChanged

networkChanged: CustomEvent<AccountNetwork>;

Defined in: packages/iso-filecoin-wallets/src/types.ts:19


stateChanged

stateChanged: CustomEvent<WalletSupportType>;

Defined in: packages/iso-filecoin-wallets/src/types.ts:23