POST /api/chain/:slug/contracts/:id/dry-run
| Method | POST |
| Path | /api/chain/:slug/contracts/:id/dry-run |
| Group | Contracts |
| Auth | authenticated session — or Authorization: Bearer zsm_<machine-key> (machine API key) for headless/automation |
| Source | shared/api-core/src/routes/contracts.ts |
Call it
curl -X POST https://zeqsdk.com/api/chain/:slug/contracts/:id/dry-run \
-H "Authorization: Bearer zsm_<machine-key>" \
-H "Content-Type: application/json" \
-d '{}'
Call it from an authenticated session, or — for headless/automation — pass a
zsm_machine API key as a Bearer token (as shown above).
Reference
- Group: Contracts
- Drive it from any client — the TypeScript SDK, Python, CLI, and MCP server all wrap the same routes.