latestOpenAPI 3.0.32026-08-20146131.7 MB
672b1916ba61
Issuance
Execute mint
Mints tokens using custody signing and submission.
post/v1/issuance/tokens/{tokenId}/mint
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.
Idempotency-Keystring
Idempotency key for safely retrying mutating requests. 1-255 printable ASCII characters; echoed back on the response.
Example:idempotency_example_12345
Idempotency key for safely retrying mutating requests. 1-255 printable ASCII characters; echoed back on the response.
Request body
Example request
{
"signingWalletId": "privy_wallet_123",
"mint": {
"destination": "So11111111111111111111111111111111111111112",
"amount": "1000",
"memo": "Payout"
},
"options": {
"priorityFee": "low",
"simulate": true
}
}Response
Mint executed
Example response
{
"data": {
"transaction": {
"id": "ttx_example",
"tokenId": "tok_example",
"organizationId": "org_example",
"type": "mint",
"status": "confirmed",
"signature": "sig_example",
"idempotencyKey": "idem_example_12345",
"idempotencyFingerprint": "4f2d9c7a5e6f1c...",
"serializedTx": "AQID",
"slot": 123456,
"blockTime": "2025-01-01T00:00:00.000Z",
"fee": 5000,
"error": "Signature failed",
"initiatedByKeyId": "key_example",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-02T00:00:00.000Z"
},
"tokenAccount": "So11111111111111111111111111111111111111112"
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}