Skip to main content
Split one or more Canton Coin amulets into new amulets with specified denominations. Uses the AmuletRules_Transfer MergeSplit operation under the hood. Invoked through the two-phase transaction flow with:
  • operation = TRANSACTION_OPERATION_SPLIT_CC
  • params.split_cc = SplitCcParams { … }

Params

output_amounts
string[]
required
Decimal amounts for the output amulets. Sum must be less than or equal to the total input.
amulet_cids
string[]
required
Contract IDs of the input amulets to be merged and split.
message SplitCcParams {
  repeated string output_amounts = 1;
  repeated string amulet_cids    = 2;
}
Call GetAmulets first to discover the input amulet_cids and their amounts.

See also

  • GetAmulets — list the unlocked amulets you can merge.
  • TransferCc — send Canton Coin to a receiver (may be combined with split in a MultiCall).