Docs

WalletEvents

type WalletEvents = {
  change: (data: WalletData) => void;
  connect: (data: WalletData) => void;
  disconnect: () => void;
  display_uri: (uri: string) => void;
  error: (error: Error) => void;
  message: (__namedParameters: { data?: unknown; type: string }) => void;
  request: () => void;
  wc_session_request_sent: () => void;
};