> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequence.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting External Wallets

> Documentation for Unreal SDK API to manage sessions for the Sequence infrastructure stack for web3 gaming.

<Warning>
  The examples below apply to versions 2.x.x.
  If you’re using version 3, use the SequenceEmbeddedWalletBP (Blueprints) and SequenceEmbeddedWallet (C++) classes instead.
</Warning>

Get- and remove linked wallets in your Unreal project. Learn more on [how to link external wallets](/solutions/wallets/developers/embedded-wallet/wallet-linking) such as Metamask on a web app.
Linking Wallets gives you read-only access to those wallets such as using our Indexer to query balances from externally owned items.

## Get Linked Wallets

Query the list of all wallets the user linked to their Embedded Wallet.

<Tabs>
  <Tab title="Blueprint">
    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6/AFzdYwHtaLpVA9X3/images/unreal/get_linked_wallets.png?fit=max&auto=format&n=AFzdYwHtaLpVA9X3&q=85&s=8da2abbd6d97172fb0c5cbe8caa18a9d" width="2242" height="1184" data-path="images/unreal/get_linked_wallets.png" />
    </Frame>
  </Tab>

  <Tab title="C++">
    ```cpp theme={null}
    const TFunction<void (FSeqLinkedWalletsResponse)> OnApiSuccess = [OnSuccess](const FSeqLinkedWalletsResponse& LinkedWallets) { };
    const TFunction<void (FSequenceError)> OnApiFailure = [OnFailure](const FSequenceError& Err) { };

    USequenceWallet* Wallet = NewObject<USequenceWallet>();
    Wallet->GetLinkedWallets(OnApiSuccess, OnApiFailure);
    ```
  </Tab>
</Tabs>

## Remove Linked Wallet

Removes the specified wallet.

<Tabs>
  <Tab title="Blueprint">
    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6/jCmUvzGpoEMBvubT/images/unreal/remove_linked_wallets.png?fit=max&auto=format&n=jCmUvzGpoEMBvubT&q=85&s=184badba5888d1ebd3651db6aa3a18f7" width="2242" height="1184" data-path="images/unreal/remove_linked_wallets.png" />
    </Frame>
  </Tab>

  <Tab title="C++">
    ```cpp theme={null}
    const TFunction<void()> OnApiSuccess = [OnSuccess]() { };
    const TFunction<void (FSequenceError)> OnApiFailure = [OnFailure](const FSequenceError& Err) { };

    USequenceWallet* Wallet = NewObject<USequenceWallet>();
    Wallet->RemoveLinkedWallet(LinkedWalletAddress, OnApiSuccess, OnApiFailure);
    ```
  </Tab>
</Tabs>
