POST /v1/tokens/{tokenId}/deployment/estimate
Run a dry-run validation of the deployment parameters and return a gas estimate, expected contract address (CREATE2 if applicable), and any warnings — without creating an approval request or broadcasting anything.
| Aspect | Detail |
|---|---|
| Method | POST |
| Path | /v1/tokens/{tokenId}/deployment/estimate |
| Authentication | Bearer API key |
| Required permissions | tokens:read |
| Idempotent | Yes — read-only |
| Approval policy | Not applicable |
| Blockchain effect | None — eth_call only |
| Webhook events | None |
Request body
Response (200)
Errors
| Code | Type | Meaning |
|---|---|---|
| 1100 | VALIDATION | Invalid constructor args or wallet reference. |
| 1702 | TOKEN_ALREADY_DEPLOYED | Token already has a confirmed contractAddress. |
| 1707 | TOKEN_DEPLOYMENT_FAILED | Estimate failed because the simulated deploy would revert. |
| 1500 | NODE_UNAVAILABLE | Upstream Quantum Chain node could not respond. |