Docs

BuyWithFiat

Trigger a crypto onramping flow. See GetBuyWithFiatQuote for more information on how to get an onramp quote.

Usage

using Thirdweb.Pay;
public async void Buy()
{
string intentId = await ThirdwebManager.Instance.SDK.Pay.BuyWithFiat(_quote);
ThirdwebDebug.Log($"Intent ID: {intentId}");
}