GetBuyWithFiatStatus

Get onramp status for an intent id returned by BuyWithFiat.

Usage

using Thirdweb.Pay;
var status = await ThirdwebPay.GetBuyWithFiatStatus(client, _quote.IntentId);

In some cases, you may onramp to an intermediary token that requires an additional step, in these cases the CRYPTO_SWAP_REQUIRED status indicates that the onramp transfer has completed and you may now use the intent id to trigger a BuyWithCrypto transaction to get to your destination token. The flow is the same for GetBuyWithCryptoQuote, though you may now pass the intent id as a parameter to link both statuses together.