ProofMetadata
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / ProofMetadata
Interface: ProofMetadata
Section titled “Interface: ProofMetadata”Defined in: @sip-protocol/types/dist/index.d.ts:2519
Metadata about a proof’s origin and properties
Properties
Section titled “Properties”system
Section titled “system”system:
ProofSystem
Defined in: @sip-protocol/types/dist/index.d.ts:2521
The proof system that generated this proof
systemVersion
Section titled “systemVersion”systemVersion:
string
Defined in: @sip-protocol/types/dist/index.d.ts:2523
Version of the proof system
circuitId
Section titled “circuitId”circuitId:
string
Defined in: @sip-protocol/types/dist/index.d.ts:2525
Circuit identifier or name
circuitVersion
Section titled “circuitVersion”circuitVersion:
string
Defined in: @sip-protocol/types/dist/index.d.ts:2527
Circuit version/hash for verification
generatedAt
Section titled “generatedAt”generatedAt:
number
Defined in: @sip-protocol/types/dist/index.d.ts:2529
Timestamp when proof was generated
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt:number
Defined in: @sip-protocol/types/dist/index.d.ts:2531
Optional expiry timestamp
proofSizeBytes
Section titled “proofSizeBytes”proofSizeBytes:
number
Defined in: @sip-protocol/types/dist/index.d.ts:2533
Size of the proof in bytes
verificationCost?
Section titled “verificationCost?”
optionalverificationCost:bigint
Defined in: @sip-protocol/types/dist/index.d.ts:2535
Estimated verification cost (gas units or similar)
targetChainId?
Section titled “targetChainId?”
optionaltargetChainId:string
Defined in: @sip-protocol/types/dist/index.d.ts:2537
Chain ID where proof is intended to be verified