sendBurn method

Future<void> sendBurn(
  1. Sender via, {
  2. required InternalAddress responseAddress,
  3. required BigInt amount,
  4. BigInt? gasAmount,
  5. BigInt? queryId,
})

Implementation

Future<void> sendBurn(
  Sender via, {
  required InternalAddress responseAddress,
  required BigInt amount,
  BigInt? gasAmount,
  BigInt? queryId,
}) async {
  final txParams = await getBurnTxParams(
      amount: amount,
      responseAddress: responseAddress,
      gasAmount: gasAmount,
      queryId: queryId);

  return via.send(txParams);
}