> ## 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.

# 外部ウォレットの接続

> Sequence インフラスタックを用いた web3 ゲーム向け Unreal SDK API のセッション管理に関するドキュメントです。

Unreal プロジェクトでリンク済みウォレットの取得や解除ができます。Metamask などの外部ウォレットをウェブアプリで[リンクする方法はこちら](/solutions/wallets/developers/embedded-wallet/wallet-linking) をご覧ください。
ウォレットのリンクにより、Indexer を使って外部所有アイテムの残高を照会するなど、読み取り専用アクセスが可能になります。

## 連携済みウォレットの取得

ユーザーがEmbedded Walletに連携した全ウォレットの一覧を取得します。

<Tabs>
  <Tab title="ブループリント">
    <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>

## 連携済みウォレットの削除

指定したウォレットを削除します。

<Tabs>
  <Tab title="ブループリント">
    <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>
