OUTCOME · Discover
What changes
Read-only projection; it grants no mutation, settlement, traffic, or authority change.
Smart-contract lifecycle
/api/v2/contractsPurpose and usage
List smart-contract launch records visible to the caller.
When to use it
Call this when a contract author, authority reviewer, deployment operator, or contract-lifecycle agent needs to discover launches and choose a canonical record for a later step so it can move a contract launch through draft, analysis, governance binding, freeze, evidence, and deployment preparation without collapsing those gates.
OUTCOME · Discover
Read-only projection; it grants no mutation, settlement, traffic, or authority change.
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:read scope.EXAMPLEBearer hc_live_…
cursorqueryOptionalopaque stringCursor returned by the preceding page.
limitqueryOptionalinteger · 1–200Maximum records to return.EXAMPLE50
statequeryOptionalstringOptional lifecycle-state filter.EXAMPLEREADY_TO_DEPLOY
RESPONSES
{
"launches": [
{
"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"
}
],
"page": {
"nextCursor": null,
"limit": 50
}
}{
"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": "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