Overview
Add a dedicated /dashboard/account route where a user pastes a Stellar account address and sees a full breakdown of fees paid by that account — total spend, averages, and a transaction-by-transaction history.
Route
/dashboard/account — search entry page
/dashboard/account/[address] — results page (or inline on same page)
Acceptance Criteria
Route & Page
Search UI
Summary Cards
Four stat cards displayed at the top of results:
Fee History Chart
Transaction Table
Navigation
Type Shapes
export interface AccountTransaction {
hash: string;
fee_charged: number;
ledger: number;
created_at: string;
}
export interface AccountFeeSummary {
total_fees_paid: number;
transaction_count: number;
avg_fee: number;
max_fee: number;
min_fee: number;
}
export interface AccountFeeHistory {
address: string;
summary: AccountFeeSummary;
transactions: AccountTransaction[];
}
Notes
- Stellar Expert account URL:
https://stellar.expert/explorer/testnet/account/{address}
- Related backend issue:
[Phase 2] feat(core): account fee history endpoint
Overview
Add a dedicated
/dashboard/accountroute where a user pastes a Stellar account address and sees a full breakdown of fees paid by that account — total spend, averages, and a transaction-by-transaction history.Route
/dashboard/account— search entry page/dashboard/account/[address]— results page (or inline on same page)Acceptance Criteria
Route & Page
src/app/dashboard/account/page.tsx— search entrysrc/app/dashboard/account/[address]/page.tsx— results (or handle inline)fetchAccountFeeHistory(address: string): Promise<AccountFeeHistory>tosrc/lib/api.tsAccountFeeHistory,AccountFeeSummary,AccountTransactiontypes tosrc/lib/types.tsSearch UI
G, 56 chars)Gand be 56 charactersSummary Cards
Four stat cards displayed at the top of results:
Fee History Chart
LineChartorBarChartshowing fee paid per transaction over timeTransaction Table
Navigation
ACCOUNTlink to the dashboard nav/sidebarType Shapes
Notes
https://stellar.expert/explorer/testnet/account/{address}[Phase 2] feat(core): account fee history endpoint