Skip to main content

POST /v1/tokens/{tokenId}/deploy

Deploy a token configuration to Quantum Chain. The endpoint creates a TokenOperation of type DEPLOY_TOKEN, attaches it to a Qustody transaction, evaluates the approval policy, requests a post-quantum signature, broadcasts, and tracks confirmations.

Request body

Response (202)

The transactionRequestId references the underlying Qustody transaction. Status follows the existing transaction state machine: PENDING_AUTHORIZATION → APPROVED → PENDING_SIGNATURE → SIGNED → BROADCASTING → CONFIRMING → COMPLETED (or REJECTED / FAILED).

GET /v1/tokens/{tokenId}/deployment

Fetch the latest deployment record, including the on-chain contractAddress once the deployment is COMPLETED.

Errors

Retry safety

Retries with the same Idempotency-Key are safe and return the original operation. Retries with a different key may create a duplicate deployment — do not vary the key on retry.