Skip to main content

GET /api/chain/:slug/contracts/:id/export

Returns a portable envelope of the contract's definition + metadata. Owner-only, no charge. Omits runtime state (audit, watermarks, secrets).

MethodGET
Path/api/chain/:slug/contracts/:id/export
DomainState machines · Contracts
Tiercomputation (public)
Authuser

Request

curl -X GET https://zeqsdk.com/api/chain/YOUR_MACHINE/contracts/CONTRACT_ID/export \
-H "Authorization: Bearer $ZEQ_KEY"

Needs a machine key — mint one free: curl -X POST https://zeqsdk.com/api/demo-key/mint, then spin up your machine.

Generated from the node's own route registry (GET /api/endpoints) — this path is live.