> ## Documentation Index
> Fetch the complete documentation index at: https://sequence-0fb8d9e6-codex-update-discord-invite.mintlify.site/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-codex-update-discord-invite/FTpX4UAFpHQ_Qb4p/images/unreal/get_linked_wallets.png?fit=max&auto=format&n=FTpX4UAFpHQ_Qb4p&q=85&s=c56940732c0f5d4d9f56412478ae1229" 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-codex-update-discord-invite/WI2CxbnlYZro4UIi/images/unreal/remove_linked_wallets.png?fit=max&auto=format&n=WI2CxbnlYZro4UIi&q=85&s=e3461eeb016f8bbd5a4249f863786218" 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>
