Digital Asset docs
Mint
Updated 27-11-2026
The Mint workflow creates new holdings of an instrument. Minting always takes two steps: one party
proposes the mint, and the counterparty accepts it. A holding is only created when both the
registrar and the holder have authorized the mint.
In both flows, the holder is the party that receives the minted holding, and the party that
proposed the mint can cancel it until it is accepted.
The transaction creates a
The label of the minted holding is the receiver account (account ID) set in the mint metadata. It
lets the holder keep holdings of the same instrument in separate accounts, as outlined in
Accounts and Labels.
The receiver account is part of the
Overview
There are two ways to mint:| Flow | Proposed by | Accepted or rejected by | Typical use |
|---|---|---|---|
| Mint request | Holder | Registrar | An issuer asks the registrar to issue new tokens to itself. |
| Mint offer | Registrar | Holder | The registrar issues new tokens to a party, which accepts them. API only. |
You can jump straight to a flow: Mint request · Mint offer ·
API integration · Troubleshooting.
Prerequisites
Before a mint can be accepted:- The Instrument Configuration for the instrument must exist.
- The holder must satisfy the instrument’s issuer credential requirements. If no issuer credential requirements are defined, the credential check passes for any holder. See How Requirements Are Evaluated.
- The instrument must not be paused, unless the holder is the registrar.
- If the blocklist check is enabled for the instrument, the holder must not be on the registrar’s blocklist.
- The mint must be accepted before its
executeBeforetime.
Holder credential requirements aren’t checked for mints. A holder that only satisfies the issuer
credential requirements can receive a mint, but can’t transfer or allocate the minted holdings
unless it also satisfies the holder credential requirements.
API integration
Every API step follows the same pattern:- Call the Operator Backend API to get the choice context
and the contracts that must be disclosed, such as the
InstrumentConfiguration, the holder’s credentials, and theAllocationFactory. - Exercise the choice through the JSON Ledger API, passing the choice context in
extraArgs.contextand the disclosures indisclosedContracts.
MintRequest or
MintOffer by querying the active contracts of the acting party, for example by matching the mint
reference.
Mint requests and offers are created through the registrar’s
AllocationFactory contract.
Despite its name, it doesn’t only implement the Token Standard allocation interfaces, but also
the transfer interfaces and the mint and burn workflows. The name is kept for backwards
compatibility.Mint request
The holder requests a mint, and the registrar accepts or rejects it.1
Holder requests a mint
- dApp UI
- API
- Go to Mints and click Request Mint.
- Select the instrument.
- Enter the amount to mint.
- Enter a reference, for example the reason for the mint or the agreement under which the tokens are issued.
- Optionally, enter a label for the minted holding.
- Submit the request.
- Get the
AllocationFactoryand choice context withPOST /api/utilities/v0/registry/mint/v0/request, passing theholderand theinstrumentId. - As the holder, exercise
AllocationFactory_RequestMinton the factory with the following choice argument:
{
"expectedAdmin": "<registrar party ID>",
"mint": {
"instrumentId": { "admin": "<registrar party ID>", "id": "<instrument ID>" },
"amount": "5.0",
"holder": "<holder party ID>",
"reference": "mint-ref-001",
"requestedAt": "2026-03-20T14:17:26Z",
"executeBefore": "2026-03-20T15:17:26Z",
"meta": { "values": { "CIP-0112/receiver.id": "<receiver account ID>" } }
},
"extraArgs": {
"context": "<choiceContext.choiceContextData from the backend>",
"meta": { "values": {} }
}
}
MintRequest contract. The CIP-0112/receiver.id metadata entry
is optional, see Labels.2
Registrar accepts or rejects the request
- dApp UI
- API
- Go to Mints and select the mint request.
- Click Accept, or click Reject and enter a reason.
- Get the choice context with
POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/accept(or/reject). - As the registrar, exercise
MintRequest_Accepton theMintRequest, orMintRequest_Rejectwith areason.
MintRequest_Accept returns the holdingCid of the minted holding.3
Optional: Holder cancels the request
The holder can cancel a mint request until the registrar accepts it.
- dApp UI
- API
Go to Mints, select the mint request, and click Cancel.
As the holder, exercise
MintRequest_Cancel on the MintRequest, using the choice context
from
POST /api/utilities/v0/registry/mint/v0/request/{mintRequestId}/choice-contexts/cancel.Mint offer
The registrar offers a mint to a holder, and the holder accepts or rejects it.The mint offer flow is currently not available in the dApp UI. Use the API to offer, accept,
reject, or cancel mint offers.
1
Registrar offers a mint
- Get the
AllocationFactoryand choice context withPOST /api/utilities/v0/registry/mint/v0/offer, passing theholderand theinstrumentId. - As the registrar, exercise
AllocationFactory_OfferMinton the factory. The choice argument has the same shape as for a mint request.
MintOffer contract.2
Holder accepts or rejects the offer
- Get the choice context with
POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/accept(or/reject). - As the holder, exercise
MintOffer_Accepton theMintOffer, orMintOffer_Rejectwith areason.
MintOffer_Accept returns the holdingCid of the minted holding.3
Optional: Registrar cancels the offer
The registrar can cancel a mint offer until the holder accepts it.As the registrar, exercise
MintOffer_Cancel on the MintOffer, using the choice context
from POST /api/utilities/v0/registry/mint/v0/offer/{mintOfferId}/choice-contexts/cancel.Mint details
Both flows use the sameMint payload:
| Field | Description |
|---|---|
instrumentId | The instrument to mint. instrumentId.admin is the registrar. |
amount | The amount to mint. |
holder | The party that receives the minted holding. |
reference | A reference for the mint, for example the reason or the underlying agreement. |
requestedAt | The time at which the mint was proposed. |
executeBefore | The time by which the mint must be accepted. |
meta | Optional metadata that is carried through the workflow. The CIP-0112/receiver.id entry sets the receiver account, which becomes the label of the minted holding. |
Labels
Labels in mint and burn workflows require all involved parties to use Registry App version
0.14.2 or later.Mint payload, so it is set by the party that proposes the
mint and is applied unchanged when the mint is accepted:
- Mint request: the holder sets the receiver account when requesting the mint.
- Mint offer: the receiver account is taken from the offer.
MintOffer_Acceptdoesn’t take a label, so the holder can’t change it when accepting.
"meta": { "values": { "CIP-0112/receiver.id": "<receiver account ID>" } }
- If no receiver account ID is set, the holding is minted to the holder’s basic account with account
ID
"".
Troubleshooting
| Symptom | Cause | Resolution |
|---|---|---|
Subject [...] must have credentials for: [...] | The holder doesn’t satisfy the issuer credential requirements. | Issue the missing credential to the holder. Each requirement must be met by a single credential, see How Requirements Are Evaluated. |
Instrument must not be paused to request a mint or ... to accept a mint | The instrument is paused. | Wait until the registrar unpauses the instrument, see Pause / Unpause. |
Mint request deadline must not be exceeded: ... | The executeBefore time has passed. | Cancel or reject the mint and propose a new one. |
receiver id must not use the reserved "cip-[a-zA-Z0-9]/" prefix, ... | The label starts with a reserved prefix. | Choose a label without the cip-<...>/ prefix, see registry account. |
CONTRACT_NOT_FOUND when accepting, rejecting, or cancelling | The mint request or offer was already accepted, rejected, or cancelled. | Query the active contracts again and use a current contract ID. |
Next steps
- To move holdings between parties, see Transfer.
- To reduce supply, see Burn.
- To detect executed mints in the transaction history, see Transaction history parsing.
- To burn and mint holdings atomically from your own Daml code, see Custom burn / mint workflows.