Skip to content

Variable: HashingSchemeVersion ​

ts
const HashingSchemeVersion: object;

Defined in: packages/x402-core/src/types/payment.ts:13

Canton interactive-submission hashing-scheme versions. These are the protobuf HashingSchemeVersion enum names; on the JSON Ledger API they travel as these strings, so we mirror them here as the single source of truth rather than pull in Canton proto codegen. Open union — a future Canton version stays assignable.

Type Declaration ​

V2 ​

ts
readonly V2: "HASHING_SCHEME_VERSION_V2" = "HASHING_SCHEME_VERSION_V2";

V3 ​

ts
readonly V3: "HASHING_SCHEME_VERSION_V3" = "HASHING_SCHEME_VERSION_V3";