Skip to content

feat: add transaction lookup and wallet stats endpoints#93

Closed
user1303836 wants to merge 1 commit intomainfrom
feature/metadata-stats
Closed

feat: add transaction lookup and wallet stats endpoints#93
user1303836 wants to merge 1 commit intomainfrom
feature/metadata-stats

Conversation

@user1303836
Copy link
Owner

Summary

  • GET /v1/transactions/:wallet/:tx_hash - single transaction detail with full raw_metadata
  • GET /v1/stats/:wallet - wallet summary: tx count per chain, date range, unique asset count
  • New repo methods: get_transaction_by_hash, get_wallet_stats
  • Both endpoints respect auth and wallet scoping

Test plan

  • cargo fmt --all --check clean
  • cargo clippy --workspace --all-targets -- -D warnings clean
  • All 169 tests pass (8 new tests added)
  • cargo audit clean

GET /v1/transactions/:wallet/:tx_hash returns a single transaction with
full raw_metadata for drilling into chain-specific details.

GET /v1/stats/:wallet returns summary statistics: transaction count per
chain, date range of indexed data, and count of unique assets traded.
@user1303836
Copy link
Owner Author

Duplicate of PR #92 which was created by the assigned agent. Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant