mintCccsList static method

Future<TransactionResult> mintCccsList(
  1. List<MintCcc> mintCccs,
  2. Wallet wallet, {
  3. StdFee? fee,
  4. BroadcastingMode? mode,
})

Mints the CCCs having the given mintCccs list as being associated with the address present inside the specified wallet. Optionally fee and broadcasting mode parameters can be specified.

Implementation

static Future<TransactionResult> mintCccsList(
  List<MintCcc> mintCccs,
  Wallet wallet, {
  StdFee? fee,
  BroadcastingMode? mode,
}) {
  final msgs =
      mintCccs.map((mintCcc) => MsgMintCcc(mintCcc: mintCcc)).toList();

  return TxHelper.createSignAndSendTx(
    msgs,
    wallet,
    fee: fee,
    mode: mode,
  );
}