TimeLockParams
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / TimeLockParams
Interface: TimeLockParams
Section titled “Interface: TimeLockParams”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7141
Parameters for creating a time-locked disclosure
Properties
Section titled “Properties”viewingKey
Section titled “viewingKey”viewingKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7143
Viewing key to encrypt and time-lock
revealAfter
Section titled “revealAfter”revealAfter:
number|Date
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7145
Reveal after this time (Date) or block height (number)
commitment
Section titled “commitment”commitment:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7147
Commitment value (transaction hash or identifier)