Skip to content

feat:Add Agent Transaction History Feature#182

Open
Nikhil034 wants to merge 14 commits intoEmberAGI:mainfrom
Nikhil034:agent-txn-history
Open

feat:Add Agent Transaction History Feature#182
Nikhil034 wants to merge 14 commits intoEmberAGI:mainfrom
Nikhil034:agent-txn-history

Conversation

@Nikhil034
Copy link
Contributor

This PR introduces the Agent Transaction History functionality, allowing users to view all transactions performed by a specific agent directly from the frontend.

A transaction icon in the sidebar enables users to access this information. Clicking on it reveals detailed transaction data, including links to the corresponding transaction URLs for deeper insight.

List of changes:

Transaction Tracking UI:

  • Added TransactionHistory component at:
  • clients/web/components/TransactionHistory.tsx
  • Allows users to view all transactions executed by the selected agent.

Database Integration:

  • Created Transaction schema in:
  • clients/web/lib/db/schema.ts
  • Stores metadata related to each transaction (hash, agent ID, etc.)

Query Logic:

  • Added database queries to store and fetch transaction data in:
  • clients/web/lib/db/queries.ts

API Endpoint:

  • Created a POST endpoint for storing transaction data at:
  • clients/web/app/api/transactions/route.ts

Targetting issue number #169

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