Overview
Add a dedicated /dashboard/tx route with a transaction hash search interface. User pastes a transaction hash, the app looks it up and shows what fee was paid and how it compared to the network at that time.
Route
/dashboard/tx — search page
/dashboard/tx/[hash] — result page (or same page with result shown below search)
Acceptance Criteria
Route & Page
Search UI
Result Card
Navigation
Type Shape
export interface TransactionFeeResult {
hash: string;
fee_charged: number;
ledger: number;
created_at: string;
context: {
network_avg_fee: number;
network_base_fee: number;
percentile_rank: string;
verdict: 'OPTIMAL' | 'FAIR' | 'OVERPAID' | 'SIGNIFICANTLY OVERPAID';
};
}
Notes
- Stellar Expert explorer URL format:
https://stellar.expert/explorer/testnet/tx/{hash}
- Related backend issue:
[Phase 2] feat(core): transaction fee lookup endpoint
Overview
Add a dedicated
/dashboard/txroute with a transaction hash search interface. User pastes a transaction hash, the app looks it up and shows what fee was paid and how it compared to the network at that time.Route
/dashboard/tx— search page/dashboard/tx/[hash]— result page (or same page with result shown below search)Acceptance Criteria
Route & Page
src/app/dashboard/tx/page.tsx— search entry pagesrc/app/dashboard/tx/[hash]/page.tsx— result page, or handle result inline on the same pagefetchTransactionFee(hash: string): Promise<TransactionFeeResult>tosrc/lib/api.tsTransactionFeeResulttype tosrc/lib/types.tsSearch UI
Result Card
p60)OPTIMAL(green) /FAIR(yellow) /OVERPAID(orange) /SIGNIFICANTLY OVERPAID(red)Navigation
TX LOOKUPlink to the dashboard nav/sidebar404from backend with a friendly "Transaction not found" messageType Shape
Notes
https://stellar.expert/explorer/testnet/tx/{hash}[Phase 2] feat(core): transaction fee lookup endpoint