UnwrapResult
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / UnwrapResult
Interface: UnwrapResult
Section titled “Interface: UnwrapResult”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21383
Result of an unwrap operation
Properties
Section titled “Properties”success
Section titled “success”success:
boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21385
Whether the unwrap operation succeeded
signature?
Section titled “signature?”
optionalsignature:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21387
Transaction signature (only if success)
amount?
Section titled “amount?”
optionalamount:bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21389
The decrypted/unwrapped amount (only if success)
error?
Section titled “error?”
optionalerror:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:21391
Error message (only if !success)