Connection Events

  • OnConnectionStatusChanged
    Event triggered when the connection status changes. Provides a bool indicating if connected.
  • OnWalletConnected
    Event triggered when a wallet connection is successfully established. Provides the wallet address as a string.
  • OnUserAuthenticated
    Fired when a user is authenticated. Passes a UserInfo object with user details.
  • OnWalletInfoUpdated
    Raised when the wallet information or credentials are updated. Provides a WalletCredential object.
  • OnWalletDisconnected
    Triggered when the wallet gets disconnected.
  • OnJwtTokenReceived
    Fired when a JWT token response is received. Provides a JwtTokenResponseMessage.

Wallet Events

  • OnTransactionReceived
    Raised when a transaction receipt is received. Passes a TransactionReceipt.
  • OnMessageSigned
    Triggered when a message is signed by the wallet. Provides the signed message string.
  • OnBalanceUpdated
    Occurs when the wallet balance updates. Provides BalanceResponseData.
  • OnWalletSwitched
    Fired when the active wallet is switched to another. Also provides BalanceResponseData.
  • OnNetworkSwitched
    Indicates that the network has switched for the wallet. Provides BalanceResponseData.
  • OnWalletsReceived
    Event fired when the list of wallets is fetched. Provides WalletsResponseData.
  • OnNetworksReceived
    Raised when the available networks list is received. Provides NetworksResponseData.

WebView Events

  • OnWebViewClosed
    Triggered when the WebView component is closed.
  • OnWebViewReady
    Fired when the WebView has finished loading and is ready to interact.

All these events are exposed as static events on the DynamicSDKManager class and allow you to subscribe to relevant SDK state changes or user actions within your Unity application.