@@ -173,6 +173,7 @@ export class ThorchainQuery {
173
173
asset : destinationAsset ,
174
174
affiliateFee : new AssetCryptoAmount ( baseAmount ( 0 ) , AssetRuneNative ) ,
175
175
outboundFee : new AssetCryptoAmount ( baseAmount ( 0 ) , AssetRuneNative ) ,
176
+ liquidityFee : new AssetCryptoAmount ( baseAmount ( 0 ) , AssetRuneNative ) ,
176
177
} ,
177
178
slipBasisPoints : 0 ,
178
179
netOutput : new CryptoAmount ( baseAmount ( 0 ) , destinationAsset ) ,
@@ -225,6 +226,10 @@ export class ThorchainQuery {
225
226
new CryptoAmount ( baseAmount ( swapQuote . fees . outbound ) , feeAsset ) ,
226
227
feeAssetDecimals ,
227
228
) ,
229
+ liquidityFee : getCryptoAmountWithNotation (
230
+ new CryptoAmount ( baseAmount ( swapQuote . fees . liquidity ) , feeAsset ) ,
231
+ feeAssetDecimals ,
232
+ ) ,
228
233
} ,
229
234
slipBasisPoints : swapQuote . fees . slippage_bps ,
230
235
netOutput : getCryptoAmountWithNotation (
@@ -330,6 +335,7 @@ export class ThorchainQuery {
330
335
// swapFee: await this.convert(fees.swapFee, asset),
331
336
outboundFee : await this . convert ( fees . outboundFee , asset ) ,
332
337
affiliateFee : await this . convert ( fees . affiliateFee , asset ) ,
338
+ liquidityFee : await this . convert ( fees . liquidityFee , asset ) ,
333
339
// totatBps: fees.totatBps,
334
340
}
335
341
}
0 commit comments