oneInch quote function

can we get the max liquidity from oneInch quote function ?


const quote = await Moralis.Plugins.oneInch.quote({
    chain: 'bsc', // The blockchain you want to use (eth/bsc/polygon)
    fromTokenAddress: currentTrade.from.address, // The token you want to swap
    toTokenAddress: currentTrade.to.address, // The token you want to receive
    amount: amount,
  });

No sadly there is no such functionality to add to the liquidity pool. Our 1inch plugin is solely used for swapping assets. You can check more info in our plugin docs.
(https://moralis.io/plugins/1inch/)

from that function we can get info like that console.log( quote.estimatedGas);
what else like that we can get?

const quote = await Moralis.Plugins.oneInch.quote({
    chain: 'bsc', // The blockchain you want to use (eth/bsc/polygon)
    fromTokenAddress: currentTrade.from.address, // The token you want to swap
    toTokenAddress: currentTrade.to.address, // The token you want to receive
    amount: amount,
  });

You can print the quote to see what it has. The estimated gas is useful to know, at least on eth where it can vary a lot from time to time.