Docs

GetBuyWithFiatQuoteParams

Parameters for getBuyWithFiatQuote function

type GetBuyWithFiatQuoteParams = {
client: ThirdwebClient;
fromAddress: string;
fromAmount?: string;
fromCurrencySymbol: "USD" | "CAD" | "GBP" | "EUR";
isTestMode?: boolean;
maxSlippageBPS?: number;
purchaseData?: object;
toAddress: string;
toAmount?: string;
toChainId: number;
toTokenAddress: string;
};