type BuyWithFiatQuote = {
estimatedDurationSeconds: number;
estimatedToAmountMin: string;
estimatedToAmountMinWei: string;
fromAddress: string;
fromCurrency: {
amount: string;
amountUnits: string;
currencySymbol: string;
decimals: number;
};
fromCurrencyWithFees: {
amount: string;
amountUnits: string;
currencySymbol: string;
decimals: number;
};
intentId: string;
maxSlippageBPS: number;
onRampLink: string;
onRampToken: {
amount: string;
amountUSDCents: number;
amountWei: string;
token: {
chainId: number;
decimals: number;
name: string;
priceUSDCents: number;
symbol: string;
tokenAddress: string;
};
};
processingFees: Array<{
amount: string;
amountUnits: string;
currencySymbol: string;
decimals: number;
feeType: "ON_RAMP" | "NETWORK";
}>;
toAddress: string;
toAmountMin: string;
toAmountMinWei: string;
toToken: {
chainId: number;
decimals: number;
name?: string;
priceUSDCents?: number;
symbol?: string;
tokenAddress: string;
};
};