Interface: ExternalWalletSession
A connected external-wallet session. Self-contained: the UPBOND auth session
and embedded/redirect wallet are unaffected, and dropping every reference
(after disconnect()) is a complete teardown.
Properties
accounts
accounts:
string[]
Accounts the user approved at connect time.
chainId
chainId:
`0x${string}`|null
The wallet's active chain as 0x-hex, or null if it could not be read.
connector
connector:
ExternalConnector
provider
provider:
Eip1193Provider
The wallet's live EIP-1193 provider — emits the standard accountsChanged / chainChanged / disconnect events.
wallet
wallet:
ExternalWalletInfo|null
EIP-6963 metadata of the connected wallet; null for WalletConnect.
Methods
disconnect()
disconnect():
Promise<void>
End the session: WalletConnect disconnects the relay pairing; injected
wallets get a best-effort EIP-2255 permission revocation. A client holds
one WalletConnect session at a time — a new walletconnect connect ends the
previous one, after which its disconnect() does nothing.
Returns
Promise<void>