Skip to content

Missing Wallet Query Interface in SDK to Retrieve Created Wallet Information #140

Closed

Description

@treeforest

Description:

The current client SDK provides the CreateWallet interface for wallet creation and an asynchronous callback OnWalletCreationResult to receive the key generation result. However, if for some reason the processing within OnWalletCreationResult is missed or fails, there is no way to retrieve the already created wallet information.

Attempting to call CreateWallet again with the same walletID results in an expected error indicating that the key already exists. While this error is correct behavior, the SDK lacks an interface to query the existing wallet details, such as the public key information.

This gap makes it difficult to recover or verify wallet creation status and associated key data after missing the asynchronous event.


Request:

Please consider adding a wallet query interface to the SDK that allows clients to fetch wallet information by walletID. This would improve robustness by enabling retrieval of wallet details even if the asynchronous creation result is missed.


Thank you!

Activity

  1. anhthii commented on Feb 5, 2026

    @anhthii
    Contributor

    Thank you for reporting @treeforest , Ok we can consider store the Create wallet response in badger and then later on when create wallet with the same id , it should return the stored the response instead of returning "duplicate" error

  2. added theissue type on Feb 5, 2026
  3. johnnynanjiang commented on May 10, 2026

    @johnnynanjiang
    Contributor

    Raised a PR for it at #160

  4. added a commit that references this issue on May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions