# BurnCccHelper

BurnCccHelper allows to easily create a new BurnCcc object.

# Provided Operations

  1. fromWallet, creates a BurnCcc from the given wallet, the amount to be burned and a MintCcc id.

    N.B.: amount is an object.

    static BurnCcc fromWallet({
      required Wallet wallet,
      required StdCoin amount,
      required String id,
    })
    
    1
    2
    3
    4
    5

# Usage examples

final wallet = Wallet.derive(mnemonic, networkInfo);
final amount = StdCoin(
  denom: 'uccc',
  amount: '10',
);
final id = '74fe4236-925b-4cdf-899b-0844de64eff3';

final burnCcc = BurnCccHelper.fromWallet(
  wallet: wallet,
  amount: amount,
  id: id,
);
1
2
3
4
5
6
7
8
9
10
11
12