Price: {
amountIn: string;
estimatedAmountOut: string;
estimatedAmountOutUsd: string;
estimatedTimeMs: number;
fees: {
bridgeFee: { amount: string; token: string; usd?: string | null };
bridgeFeeBps: number;
destFillGas: { amount: string; token: string; usd?: string | null };
originGasEstimate: { amount: string; token: string; usd?: string | null };
totalFeeUsd: string;
};
indicative: true;
priceAgeMs: number;
rate: string;
recommendedSlippage: number;
route: {
destinationChainId: string;
destinationToken: string;
originChainId: string;
originToken: string;
};
}
Type Declaration
-
amountIn: string
-
estimatedAmountOut: string
-
estimatedAmountOutUsd: string
-
estimatedTimeMs: number
-
fees: {
bridgeFee: { amount: string; token: string; usd?: string | null };
bridgeFeeBps: number;
destFillGas: { amount: string; token: string; usd?: string | null };
originGasEstimate: { amount: string; token: string; usd?: string | null };
totalFeeUsd: string;
}
-
indicative: true
-
priceAgeMs: number
-
rate: string
-
recommendedSlippage: number
-
route: {
destinationChainId: string;
destinationToken: string;
originChainId: string;
originToken: string;
}
Indicative, non-binding estimate. Only a quote sets
minAmountOut.