@armada/sdk / index / deriveViewOnlyIdentity
Function: deriveViewOnlyIdentity()
deriveViewOnlyIdentity(
viewingPrivateKey,spendingPublicKey):Promise<ViewOnlyIdentity>
Defined in: src/wallet/view-only.ts:25
Reconstruct the view-only identity from the viewing PRIVATE key + the spending PUBLIC key — full scan/balance/disclosure capability, NO spend. A view-only wallet has no SpendSigner; any spend-path call throws NoSpendCapabilityError (enforced by the wallet object). Shared-viewing-key irrevocability is a documented product constraint (SPEC §4.2.2).
Parameters
viewingPrivateKey
Uint8Array
spendingPublicKey
[bigint, bigint]
Returns
Promise<ViewOnlyIdentity>