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

# 外部ウォレットの接続

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

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

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

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