burnCccsList static method

Future<TransactionResult> burnCccsList(
  1. List<BurnCcc> burnCccs,
  2. Wallet wallet, {
  3. StdFee? fee,
  4. BroadcastingMode? mode,
})

Burns the CCCs having the given burnCccs 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> burnCccsList(
  List<BurnCcc> burnCccs,
  Wallet wallet, {
  StdFee? fee,
  BroadcastingMode? mode,
}) {
  final msgs =
      burnCccs.map((burnCcc) => MsgBurnCcc(burnCcc: burnCcc)).toList();

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