<client-only>
components for SSR compatibility.open
: Function to open the modalclose
: Function to close the modalopen
function
accountData.value.address
: The current account addressaccountData.value.caipAddress
: The current account address in CAIP formataccountData.value.isConnected
: Boolean that indicates if the user is connectedaccountData.value.status
: The current connection statusnetworkData.caipNetwork
: The current network objectnetworkData.caipNetworkId
: The current network id in CAIP formatnetworkData.chainId
: The current chain idnetworkData.switchNetwork
: Function to switch the network. Accepts a caipNetwork
object as argument.stateData.open
: Boolean that indicates if the modal is openstateData.selectedNetworkId
: The current chain id selected by the userthemeAction.themeMode
: Get theme Mode.themeAction.themeVariables
: Get theme variables.themeAction.setThemeMode
: Set theme Mode. Accepts a string as parameter (‘dark’ | ‘light’)themeAction.setThemeVariables
: Set theme variables. Check the example usage.events.timestamp
: Get the timestamp of the eventevents.data.event
: Get string of the event.events.data.properties
: get more information from the event.namespace
(optional): The specific chain namespace to disconnect from. If not provided, disconnects from all connected namespaces.walletProvider
and the WalletProviderType
.