createBurnBody method
Cell
createBurnBody({})
Implementation
Cell createBurnBody({
required InternalAddress responseAddress,
required BigInt amount,
BigInt? queryId,
}) {
return beginCell()
.storeUint(DexOpCodes.BURN.op, 32)
.storeUint(queryId ?? BigInt.zero, 64)
.storeCoins(amount)
.storeAddress(responseAddress)
.endCell();
}