getBurnTxParams method
Future<SenderArguments>
getBurnTxParams(
{ - required InternalAddress userWalletAddress,
- required BigInt amount,
- Cell? customPayload,
- BigInt? gasAmount,
- BigInt? queryId,
})
Implementation
Future<SenderArguments> getBurnTxParams({
required InternalAddress userWalletAddress,
required BigInt amount,
Cell? customPayload,
BigInt? gasAmount,
BigInt? queryId,
}) async {
final to = await getWalletAddress(userWalletAddress);
final body = createBurnBody(
amount: amount,
customPayload: customPayload,
queryId: queryId,
);
final value = gasAmount ?? gasConstants.burn;
return SenderArguments(to: to, value: value, body: body);
}