API Reference for TUWA Satellite headless wallet connectivity and session state management.
EVMWatcherCallbacks
Defined in: packages/satellite-evm/src/utils/createEVMConnectionsWatcher.ts:11
Callback functions interface for the EVM connections watcher. These callbacks are used to interact with the global state store.
Properties
activeConnection
activeConnection:
EVMConnection|undefined
Defined in: packages/satellite-evm/src/utils/createEVMConnectionsWatcher.ts:13
The currently active EVM connection from the global store
connectionError
connectionError:
string|undefined
Defined in: packages/satellite-evm/src/utils/createEVMConnectionsWatcher.ts:17
Current connection error state, if any
disconnect
disconnect: (
connectorType) =>void
Defined in: packages/satellite-evm/src/utils/createEVMConnectionsWatcher.ts:15
Function to disconnect a specific connector type
Parameters
connectorType
`evm:${string}` | `solana:${string}` | `starknet:${string}`
Returns
void
updateActiveConnection
updateActiveConnection: (
connection) =>void
Defined in: packages/satellite-evm/src/utils/createEVMConnectionsWatcher.ts:19
Function to update the active connection’s properties
Parameters
connection
Partial<EVMConnection>
Returns
void