Skip to main content

Function Signature

Description

Returns wallet identity metadata for an account address. Useful for re-identifying a wallet (chain, derivation path, threshold scheme) when you have only the address — for example in admin tooling or read-only audit flows. This is an identity-only lookup — the returned walletMetadata includes walletId, accountAddress, chainName, derivationPath, and thresholdSignatureScheme, but not externalServerKeySharesBackupInfo. The backup-pointer metadata is not recoverable from the server via SDK-scoped endpoints.
fetchWalletMetadata is not a lost-cache recovery path for signing or exporting. When you pass caller-supplied externalServerKeyShares into signMessage, signTransaction, exportKey, or exportPrivateKey, the SDK requires walletMetadata.externalServerKeySharesBackupInfo to be present and throws if it is missing. The identity-only metadata returned here will be rejected by those methods. Treat the full walletMetadata from createWalletAccount / importPrivateKey as recovery-critical and persist it from creation.
The recommended path is to persist the full walletMetadata from creation. fetchWalletMetadata is an identification primitive, not a recovery primitive.

Parameters

  • accountAddress (string) — The wallet’s account address

Returns

  • Promise<WalletMetadata> — Identity-only metadata.

Example

Last modified on May 21, 2026