BuyWithCryptoStatus

The object returned by the getBuyWithCryptoStatus function to represent the status of a quoted transaction

type BuyWithCryptoStatus =
| { status: "NOT_FOUND" }
| {
bridge?: string;
failureMessage?: string;
fromAddress: string;
purchaseData?: object;
quote: BuyWithCryptoQuoteSummary;
status: BuyWithCryptoStatuses;
subStatus: BuyWithCryptoSubStatuses;
swapType: SwapType;
toAddress: string;
};