ConversionOptions
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / ConversionOptions
Interface: ConversionOptions
Section titled “Interface: ConversionOptions”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:2281
Options for proof conversion
Properties
Section titled “Properties”preserveNativeMetadata?
Section titled “preserveNativeMetadata?”
optionalpreserveNativeMetadata?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:2283
Preserve all native metadata in the output
validateBeforeConversion?
Section titled “validateBeforeConversion?”
optionalvalidateBeforeConversion?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:2285
Validate proof structure before conversion
includeVerificationKey?
Section titled “includeVerificationKey?”
optionalincludeVerificationKey?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:2287
Include verification key in output
targetChainId?
Section titled “targetChainId?”
optionaltargetChainId?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:2289
Target chain ID for the converted proof
idGenerator?
Section titled “idGenerator?”
optionalidGenerator?: () =>string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:2291
Custom ID generator for the output proof
Returns
Section titled “Returns”string