Skip to content

TimeLockResult

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / TimeLockResult

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

Time-lock result containing encrypted viewing key and metadata

encryptedKey: `0x${string}`

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

Encrypted viewing key


nonce: `0x${string}`

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

Nonce for XChaCha20-Poly1305


revealAfter: number

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

Reveal time (Unix timestamp in seconds) or block height


verificationCommitment: `0x${string}`

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

Commitment to verify integrity (hash of viewingKey + revealAfter)


encryptionCommitment: `0x${string}`

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

Original commitment parameter (transaction hash or identifier)


type: "timestamp" | "blockheight"

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

Type of time-lock: ‘timestamp’ or ‘blockheight’