TimeLockResult
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / TimeLockResult
Interface: TimeLockResult
Section titled “Interface: TimeLockResult”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:10327
Time-lock result containing encrypted viewing key and metadata
Properties
Section titled “Properties”encryptedKey
Section titled “encryptedKey”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
Section titled “revealAfter”revealAfter:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:10333
Reveal time (Unix timestamp in seconds) or block height
verificationCommitment
Section titled “verificationCommitment”verificationCommitment:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:10335
Commitment to verify integrity (hash of viewingKey + revealAfter)
encryptionCommitment
Section titled “encryptionCommitment”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’