diff --git a/src/controllers/alchemyout.controller.ts b/src/controllers/alchemyout.controller.ts index 267c148..61f22fd 100644 --- a/src/controllers/alchemyout.controller.ts +++ b/src/controllers/alchemyout.controller.ts @@ -112,11 +112,15 @@ class AlchemyOutController extends BaseController { let gas = await new GasSvr().estimateGas({ crypto, network: 'ARBITRUM' }) gas = gas * 0.0000000001 let price = await new PriceSvr().fetchPrice({ crypto: 'ETH', network: 'ARBITRUM', fiat: 'USD' }) + let priceToSend = '0.1' + if (crypto.toLowerCase() === 'eth') { + priceToSend = price + '' + } let networkFee = gas * parseFloat(price) let result = { direct: 1, data: { - price: '0.1', + price: priceToSend, networkList: [ { network: 'ARBITRUM',