ConnectorOptions: {
    onAccountsChanged?: (accounts: string[]) => void;
    onChainChanged?: (chainId: string) => void;
    onConnect?: () => void;
    onDisconnect?: () => void;
    provider: EIP1193Provider;
}

Type declaration

  • OptionalonAccountsChanged?: (accounts: string[]) => void
  • OptionalonChainChanged?: (chainId: string) => void
  • OptionalonConnect?: () => void
  • OptionalonDisconnect?: () => void
  • provider: EIP1193Provider