Skip to content

TimeLockParams

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / TimeLockParams

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:10426

Parameters for creating a time-locked disclosure

viewingKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:10428

Viewing key to encrypt and time-lock


revealAfter: number | Date

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:10430

Reveal after this time (Date) or block height (number)


commitment: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:10432

Commitment value (transaction hash or identifier)