onConnectSuccess

Summary

This callback will be called after the user successfully connect the wallet. This is only relevant when when using the connect-only initialAuthenticationMode.

Usage

<DynamicContextProvider
  settings={{
    eventsCallbacks: {
      onConnectSuccess: (args) => {
        console.log('onConnectSuccess was called', args);
      }
    }
  }}
>
 {/* ... rest of your app ... */}
</DynamicContextProvider>

Callback Argument Value

{
  walletConnector: WalletConnector;
}