latestOpenAPI 3.0.32026-08-20146131.7 MB

672b1916ba61

Issuance

Prepare token deploy transaction

Builds an unsigned deploy transaction for client-side signing.

post/v1/issuance/tokens/{tokenId}/deploy/prepare

Path parameters

tokenIdstring required

Token identifier.

Example:tok_example

Token identifier.

Headers

x-project-idstring

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Example:prj_example

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Response

Prepared deploy transaction

Example response

{
  "data": {
    "transaction": {
      "serialized": "AQID",
      "blockhash": "blockhash_example",
      "lastValidBlockHeight": "123456"
    },
    "mint": "So11111111111111111111111111111111111111112",
    "listAddress": "So11111111111111111111111111111111111111112",
    "simulation": {
      "success": true,
      "logs": [
        "Program log: success"
      ],
      "error": "Insufficient funds"
    }
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}