Skip to main content
Final step of the DvP flow — allocate specific Canton Coin amulets to an accepted Dvp contract so that settlement can execute. Invoked through the two-phase transaction flow with:
  • operation = TRANSACTION_OPERATION_ALLOCATE
  • params.allocate = AllocateParams { … }

Params

proposal_id
string
required
Settlement proposal identifier.
dvp_cid
string
required
Contract ID of the accepted Dvp contract.
amulet_cids
string[]
required
Contract IDs of the amulets being allocated to the settlement.
message AllocateParams {
  string proposal_id = 1;
  string dvp_cid     = 2;
  repeated string amulet_cids = 3;
}
Use GetSettlementContracts to discover the dvp_cid, and GetAmulets to pick the amulets you want to allocate.

DvP flow

Full sequence: PayDvpFeeProposeDvpAcceptDvpPayAllocFeeAllocate. On success, the settlement is complete.