Skip to content

Enhancement: Fetching Recent Transactions & Transaction Status Tool #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,19 @@ Example query to Claude:

> "Buy $20 worth of OpenRouter credits."

### recent_transactions

Get the recent transactions and transaction status of a specific wallet address

Parameters:

- `walletaddress`: The wallet address to check transactions for

Example query to Claude:

> "Show me my recent transactions 0x1234567890abcdef1234567890abcdef12345678."


## Security Considerations

- The configuration file contains sensitive information (API keys and seed phrases). Ensure it's properly secured and not shared.
Expand Down
26 changes: 26 additions & 0 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,32 @@ _Claude uses the `buy_openrouter_credits` tool with the following parameters:_

**Claude:** I've initiated the purchase of $20 worth of OpenRouter credits using your USDC. The transaction hash is: 0x123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234

### Fetching Recent Transactions

**You:** Show me my recent transactions.

**Claude:** Here are your recent transactions:

Claude uses the recent_transactions tool with the following parameters:

- Transactions:

Hash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef9837653542

- Status: Success
Block Number: #12345678
From: 0x1234567890abcdef1234567890abcdef12345678
To: 0x9876543210abcdef9876543210abcdef98765432
Value: 0.01 ETH
Explorer URL: View on BaseScan
Hash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef

- Status: Pending
From: 0x234567890abcdef1234567890abcdef1234567890
To: 0x34567890abcdef1234567890abcdef123456789012
Value: 0.05 ETH
Explorer URL: View on BaseScan

## Tips for Effective Use

1. **Be specific in your requests** - Provide all necessary details when asking Claude to perform blockchain operations.
Expand Down
Loading