getBuyWithCryptoQuote
Get a quote of type BuyWithCryptoQuote
to buy any given token with crypto.
This quote contains the information about the swap such as token amounts, processing fees, estimated time etc.
Once you have the quote, you can use prepareTransaction
and prepare the transaction for submission.
Object of type BuyWithCryptoQuote
which contains the information about the quote such as processing fees, estimated time, converted token amounts, etc.