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