burnCccsList static method
Future<TransactionResult>
burnCccsList(
- List<
BurnCcc> burnCccs, - Wallet wallet, {
- StdFee? fee,
- 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,
);
}