Skip to content

Mint QUARTZ from trading profit

You can mint QUARTZ from any positive trading profit held in synthetic USD, even a fraction of a cent. Mint as much or as little of that profit as you like, up to 18 decimal places.

Send GET /wallets/{address}/mintable to your wallet’s network. Read data.public.asset.units. If it is "0", you have no profit available to mint.

If your wallet mined 100 synthetic USD and now holds 100.002, the endpoint returns "0.002" units of QUARTZ. You can mint all of it or choose a smaller amount.

To mint 0.0015 QUARTZ, send this mint request on the same network. Use your trade token and generate a fresh UUIDv4 or UUIDv7 for this mint. If you retry, reuse the same request and key within three hours of acceptance.

POST /wallets/{address}/trades
Authorization: Bearer <trade-token>
Idempotency-Key: <mint-key>
Content-Type: application/json
{
"operation": "mint",
"asset": { "id": "QUARTZ", "units": "0.0015" }
}

A 201 Created receipt gives the QUARTZ credited in data.public.asset.units. In this example, your balances show 100.0005 synthetic USD after the mint. You can still mint the remaining 0.0005 QUARTZ.