evm_get_transaction_history
Retrieve an address's sent transaction count on an EVM chain and get guidance plus explorer link for full transaction history.
Instructions
Get transaction history count and guidance for retrieving full transaction details.
Returns the transaction count (nonce) for an address and provides guidance on how to retrieve full transaction history using block explorers. Standard RPC doesn't provide full history.
CRITICAL RULES:
Returns transaction count (nonce), not full transaction list
Full transaction history requires block explorer API or indexer
Transaction count = number of transactions SENT from this address
Does not include received transactions or internal transactions
PARAMETERS:
chain: EVM chain to query (required)
Transaction count is chain-specific
Different chains have different explorer APIs
address: Ethereum address to query (required)
Format: 0x followed by 40 hexadecimal characters
Transaction count for both EOA and contracts
Example: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
limit: Desired transaction count (optional, not implemented)
Included for API compatibility
Standard RPC doesn't support paginated transaction history
Use block explorer APIs for full history
EXAMPLES: ✅ Get transaction count: {chain: "ethereum", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
✅ Check if address has sent transactions: {chain: "polygon", address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}
✅ Verify account activity: {chain: "bsc", address: "0x1234567890123456789012345678901234567890"}
❌ Invalid - expecting full transaction list: {chain: "ethereum", address: "0x...", limit: 100} // Only returns count
❌ Invalid - wrong address format: {chain: "polygon", address: "742d35Cc..."}
SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559
CRITICAL GAS CONSIDERATIONS:
Ethereum: High gas costs, use gas oracle for timing
Polygon/BSC: Very low gas, safe for frequent transactions
Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum
Avalanche: Dynamic fees, can spike during congestion
Always check gas price before executing transactions
TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.
OUTPUT STRUCTURE: • success: Boolean indicating operation success • address: Queried address • transactionCount: Number of transactions sent from this address • guidance: Instructions for retrieving full transaction history • explorerUrl: Block explorer link for manual viewing • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Expecting array of transactions (only returns count)
Confusing sent transactions with received transactions
Not using block explorer APIs for full history
Assuming zero count means no activity (could have received funds)
USE CASES:
Verify account has transaction history
Check nonce before sending transaction
Determine if address is active
Guide users to block explorer for details
Quick account activity check
ALTERNATIVES FOR FULL HISTORY:
Etherscan API: eth.getTransactionsByAddress()
Polygonscan API: Similar to Etherscan
The Graph: Indexed blockchain data
Alchemy/Infura: Enhanced APIs with transaction history
Running on Linux.
LINUX-SPECIFIC NOTES:
Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)
Python 3 is typically 'python3' command
GNU tools are standard
Use 'xdg-open' command to open files/applications
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"address": "<address>"
},
"name": "evm_get_transaction_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain to query | |
| limit | No | Desired limit (not implemented - use block explorer APIs) | |
| address | Yes | Ethereum address (0x... - 42 characters) |