BuyWithCrypto

Send a quoted swap transaction. See GetBuyWithCryptoQuote for more information on how to get a swap quote.

Usage

using Thirdweb.Pay;
public async void Buy()
{
string txHash = await ThirdwebManager.Instance.SDK.Pay.BuyWithCrypto(_quote);
ThirdwebDebug.Log($"Transaction hash: {txHash}");
}