@upbond/sdk
    Preparing search index...

    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.

    interface ExternalWalletSession {
        accounts: string[];
        chainId: `0x${string}` | null;
        connector: ExternalConnector;
        provider: Eip1193Provider;
        wallet: ExternalWalletInfo | null;
        disconnect(): Promise<void>;
    }
    Index
    accounts: string[]

    Accounts the user approved at connect time.

    chainId: `0x${string}` | null

    The wallet's active chain as 0x-hex, or null if it could not be read.

    provider: Eip1193Provider

    The wallet's live EIP-1193 provider — emits the standard accountsChanged / chainChanged / disconnect events.

    wallet: ExternalWalletInfo | null

    EIP-6963 metadata of the connected wallet; null for WalletConnect.

    • End the session: WalletConnect disconnects the relay pairing; injected wallets get a best-effort EIP-2255 permission revocation.

      Returns Promise<void>