Overview
Add a FeeRecommendation widget to the dashboard that tells the user the optimal fee to set right now, based on current network congestion. This is the most actionable piece of data in the entire app — it should be prominent.
Acceptance Criteria
Type Shape
export interface FeeRecommendation {
recommended_fee: number;
congestion: 'LOW' | 'MEDIUM' | 'HIGH';
basis: string;
base_fee: number;
avg_fee: number;
timestamp: string;
}
Notes
- The copy button is critical — developers integrating with Stellar need to paste this value directly into their transaction builder
- Related backend issue:
[Phase 2] feat(core): fee recommendation endpoint
Overview
Add a
FeeRecommendationwidget to the dashboard that tells the user the optimal fee to set right now, based on current network congestion. This is the most actionable piece of data in the entire app — it should be prominent.Acceptance Criteria
src/app/components/dashboard/FeeRecommendation.tsxfetchRecommendedFee(): Promise<FeeRecommendation>tosrc/lib/api.tsFeeRecommendationtype tosrc/lib/types.tsmatching the backend response shapep20)DashboardShell— receives data as a prop, does not fetch independentlyType Shape
Notes
[Phase 2] feat(core): fee recommendation endpoint