sendBurn method

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

Implementation

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

  return via.send(txParams);
}