ViewingKeyAccessParams
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / ViewingKeyAccessParams
Interface: ViewingKeyAccessParams
Section titled “Interface: 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.
Properties
Section titled “Properties”viewingKey
Section titled “viewingKey”viewingKey:
ViewingKey
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:982
The viewing key (private)
transactionHash
Section titled “transactionHash”transactionHash:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:984
Transaction hash to prove access to
encryptedData
Section titled “encryptedData”encryptedData:
Uint8Array
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:986
Encrypted transaction data
auditorPublicKey
Section titled “auditorPublicKey”auditorPublicKey:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:988
Auditor’s public key for verification
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:990
Timestamp of proof generation
chainId?
Section titled “chainId?”
optionalchainId:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:992
Optional: Chain ID for multi-chain support