Skip to content

ViewingKeyAccessParams

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / ViewingKeyAccessParams

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:980

Parameters for viewing key access proof

Proves that the holder of a viewing key can decrypt a specific transaction without revealing the decrypted contents.

viewingKey: ViewingKey

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:982

The viewing key (private)


transactionHash: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:984

Transaction hash to prove access to


encryptedData: Uint8Array

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:986

Encrypted transaction data


auditorPublicKey: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:988

Auditor’s public key for verification


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:990

Timestamp of proof generation


optional chainId: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:992

Optional: Chain ID for multi-chain support