TimeLockResult
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / TimeLockResult
Interface: TimeLockResult
Section titled “Interface: TimeLockResult”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7115
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-BYZbDjal.d.ts:7117
Encrypted viewing key
nonce:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7119
Nonce for XChaCha20-Poly1305
revealAfter
Section titled “revealAfter”revealAfter:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7121
Reveal time (Unix timestamp in seconds) or block height
verificationCommitment
Section titled “verificationCommitment”verificationCommitment:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7123
Commitment to verify integrity (hash of viewingKey + revealAfter)
encryptionCommitment
Section titled “encryptionCommitment”encryptionCommitment:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7125
Original commitment parameter (transaction hash or identifier)
type:
"timestamp"|"blockheight"
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:7127
Type of time-lock: ‘timestamp’ or ‘blockheight’