Skip to main content

ZkVerificationFactSchema

HardKAS SDK


HardKAS SDK / artifacts/src / ZkVerificationFactSchema

Variable: ZkVerificationFactSchema

const ZkVerificationFactSchema: ZodObject<{ computeBudget: ZodNumber; contentHash: ZodOptional<ZodString>; curve: ZodLiteral<"BN254">; draftArtifactId: ZodOptional<ZodString>; feeSompi: ZodString; guestSystem: ZodEnum<["RISC Zero", "custom"]>; hardkasVersion: ZodString; hashVersion: ZodUnion<[ZodNumber, ZodString]>; imageId: ZodString; journalHash: ZodString; networkId: ZodEnum<["mainnet", "testnet-10", "testnet-11", "testnet-12", "simnet", "simnet-1", "devnet", "simulated", "igra"]>; offChainVerification: ZodOptional<ZodEnum<["VERIFIED", "NOT_PERFORMED", "FAILED"]>>; offChainVerifier: ZodOptional<ZodString>; p2shAddress: ZodString; payoutAddress: ZodString; payoutSompi: ZodString; planArtifactId: ZodOptional<ZodString>; proofSha256: ZodString; provingSystem: ZodLiteral<"Groth16">; redeemScriptHash: ZodString; schema: ZodLiteral<"hardkas.zkVerificationFact.v1">; spendUtxo: ZodObject<{ amountSompi: ZodString; index: ZodNumber; transactionId: ZodString; }, "strip", ZodTypeAny, { amountSompi?: string; index?: number; transactionId?: string; }, { amountSompi?: string; index?: number; transactionId?: string; }>; timestamp: ZodOptional<ZodString>; txId: ZodString; verifiedOffChain: ZodBoolean; }, "strip", ZodTypeAny, { computeBudget?: number; contentHash?: string; curve?: "BN254"; draftArtifactId?: string; feeSompi?: string; guestSystem?: "custom" | "RISC Zero"; hardkasVersion?: string; hashVersion?: string | number; imageId?: string; journalHash?: string; networkId?: "simnet" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet-1" | "devnet" | "simulated" | "igra"; offChainVerification?: "VERIFIED" | "NOT_PERFORMED" | "FAILED"; offChainVerifier?: string; p2shAddress?: string; payoutAddress?: string; payoutSompi?: string; planArtifactId?: string; proofSha256?: string; provingSystem?: "Groth16"; redeemScriptHash?: string; schema?: "hardkas.zkVerificationFact.v1"; spendUtxo?: { amountSompi?: string; index?: number; transactionId?: string; }; timestamp?: string; txId?: string; verifiedOffChain?: boolean; }, { computeBudget?: number; contentHash?: string; curve?: "BN254"; draftArtifactId?: string; feeSompi?: string; guestSystem?: "custom" | "RISC Zero"; hardkasVersion?: string; hashVersion?: string | number; imageId?: string; journalHash?: string; networkId?: "simnet" | "mainnet" | "testnet-10" | "testnet-11" | "testnet-12" | "simnet-1" | "devnet" | "simulated" | "igra"; offChainVerification?: "VERIFIED" | "NOT_PERFORMED" | "FAILED"; offChainVerifier?: string; p2shAddress?: string; payoutAddress?: string; payoutSompi?: string; planArtifactId?: string; proofSha256?: string; provingSystem?: "Groth16"; redeemScriptHash?: string; schema?: "hardkas.zkVerificationFact.v1"; spendUtxo?: { amountSompi?: string; index?: number; transactionId?: string; }; timestamp?: string; txId?: string; verifiedOffChain?: boolean; }>

Defined in: packages/artifacts/src/schemas.ts:1777

hardkas.zkVerificationFact.v1 Immutable fact capturing the cryptographic verification and transaction lineage of a Zero-Knowledge proof execution on Kaspa Toccata.