OUTCOME · Create or advance
What changes
Creates or advances only the freeze launch resource described by this contract after authorization, validation, policy, and idempotency gates pass.
Smart-contract lifecycle
/api/v2/contracts/{launch_uuid}/freezePurpose and usage
Freeze the launch intent so its governed digests can no longer change.
When to use it
Call this when a contract author, authority reviewer, deployment operator, or contract-lifecycle agent needs to apply the documented freeze launch transition after re-reading the current authoritative state so it can move a contract launch through draft, analysis, governance binding, freeze, evidence, and deployment preparation without collapsing those gates.
OUTCOME · Create or advance
Creates or advances only the freeze launch resource described by this contract after authorization, validation, policy, and idempotency gates pass.
WHY IT MATTERS
ISOLATION + AUTHORITY
Launch owner, workspace, source artifact, analysis, declared authority, governance binding, frozen revision, deployment preparation, target network, and runtime deployment remain distinct. Analysis or preparation does not deploy code, freezing does not approve it, and no contract route grants wallet, publisher, matching, trading, or external-domain authority.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
Use the deployed OpenAPI for exact parameters, schemas and security requirements. The tables below provide integration guidance.
Open this operation in OpenAPIRequest and response
Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing the contracts:govern scope.EXAMPLEBearer hc_live_…
Idempotency-KeyheaderRequiredASCII string · 1–128Caller-generated key reused for every retry of the same logical mutation.EXAMPLElaunch-treasury-v1-001
launch_uuidpathRequiredstring · 1–160Contract launch UUID or canonical slug.EXAMPLE9b51ed4c9c8f4aec85d1bd5520e40557
acceptedRiskCodesbodyRequiredstring[]Exact set of current authority-analysis warnings explicitly accepted by the caller.
REQUEST
{
"acceptedRiskCodes": [
"ROLE_REUSE"
]
}RESPONSES
{
"launch": {
"launchId": "9b51ed4c9c8f4aec85d1bd5520e40557",
"slug": "treasury-settlement-v1",
"name": "Treasury Settlement",
"description": "Governed HybridScript settlement contract.",
"networkId": "hybrid-devnet",
"chainId": "hybrid-1",
"contractKind": "HYBRIDSCRIPT",
"packageHash": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
"sourceHash": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
"artifactHash": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
"manifestHash": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
"compilerProfile": "hybridscript-0.1",
"factoryAddress": null,
"constructorArgsHash": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
"initialStateHash": "sha256:6666666666666666666666666666666666666666666666666666666666666666",
"runtimePolicyHash": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
"deploymentSalt": "treasury-settlement-001",
"xuLimit": 100000,
"capabilities": [
"PAUSABLE",
"TREASURY"
],
"safeguards": {
"upgradeTimelockSeconds": 86400,
"mintCap": null,
"emergencyPause": true,
"recoveryDelaySeconds": 172800,
"sourceVerified": true,
"deterministicBuild": true
},
"authorities": {
"DEPLOYMENT": "wallet-deploy",
"POLICY": "wallet-policy",
"RECOVERY": "wallet-recovery",
"PAUSE": "wallet-pause",
"UNPAUSE": "wallet-pause",
"TREASURY": "wallet-treasury"
},
"acceptedRiskCodes": [],
"launchIntentHash": null,
"trustScore": null,
"trustGrade": null,
"state": "DRAFT",
"expectedContractAddress": null,
"contractAddress": null,
"bindings": [],
"events": [],
"chainEvidence": [],
"created": "2026-08-10T21:00:00Z",
"updated": "2026-08-10T21:00:00Z"
}
}{
"launch": {
"launchId": "9b51ed4c9c8f4aec85d1bd5520e40557",
"slug": "treasury-settlement-v1",
"name": "Treasury Settlement",
"description": "Governed HybridScript settlement contract.",
"networkId": "hybrid-devnet",
"chainId": "hybrid-1",
"contractKind": "HYBRIDSCRIPT",
"packageHash": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
"sourceHash": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
"artifactHash": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
"manifestHash": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
"compilerProfile": "hybridscript-0.1",
"factoryAddress": null,
"constructorArgsHash": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
"initialStateHash": "sha256:6666666666666666666666666666666666666666666666666666666666666666",
"runtimePolicyHash": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
"deploymentSalt": "treasury-settlement-001",
"xuLimit": 100000,
"capabilities": [
"PAUSABLE",
"TREASURY"
],
"safeguards": {
"upgradeTimelockSeconds": 86400,
"mintCap": null,
"emergencyPause": true,
"recoveryDelaySeconds": 172800,
"sourceVerified": true,
"deterministicBuild": true
},
"authorities": {
"DEPLOYMENT": "wallet-deploy",
"POLICY": "wallet-policy",
"RECOVERY": "wallet-recovery",
"PAUSE": "wallet-pause",
"UNPAUSE": "wallet-pause",
"TREASURY": "wallet-treasury"
},
"acceptedRiskCodes": [],
"launchIntentHash": null,
"trustScore": null,
"trustGrade": null,
"state": "DRAFT",
"expectedContractAddress": null,
"contractAddress": null,
"bindings": [],
"events": [],
"chainEvidence": [],
"created": "2026-08-10T21:00:00Z",
"updated": "2026-08-10T21:00:00Z"
}
}{
"code": "invalid_json",
"message": "The request or required headers are malformed."
}invalid_json{
"code": "invalid_credentials",
"message": "The bearer credential is missing or invalid."
}invalid_credentials{
"code": "insufficient_scope",
"message": "The credential lacks the required contract scope."
}insufficient_scope{
"code": "contract_not_found",
"message": "The requested launch does not exist in the caller's workspace."
}contract_not_found{
"code": "contract_conflict",
"message": "The request conflicts with immutable launch state or existing governance evidence."
}contract_conflict{
"code": "invalid_request",
"message": "The canonical contract request failed validation."
}invalid_request{
"code": "contract_registry_unavailable",
"message": "The authoritative contract registry is unavailable."
}contract_registry_unavailableOPERATIONAL NOTES
This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-10-02T23:27:55.510Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation Return to the V2 directory