Send a quoted swap transaction. See GetBuyWithCryptoQuote for more information on how to get a swap quote.
using Thirdweb.Pay; public async void Buy(){ string txHash = await ThirdwebManager.Instance.SDK.Pay.BuyWithCrypto(_quote); ThirdwebDebug.Log($"Transaction hash: {txHash}");}
See GetBuyWithCryptoQuote for more information on the BuyWithCryptoQuoteResult object.
BuyWithCryptoQuoteResult
string: The transaction hash of the swap transaction.
string