sendBurn method
Future<void>
sendBurn(
- Sender via, {
- required InternalAddress userWalletAddress,
- required BigInt amount,
- Cell? customPayload,
- BigInt? gasAmount,
- 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);
}