EVM Chains MCP Server
Provides tools for interacting with Binance Smart Chain testnet, including account/balance queries, token and NFT operations, contract interactions, DeFi actions, and gas/network analytics.
Provides tools for interacting with Ethereum Sepolia, including account and balance queries, transactions, ERC-20 token operations, NFT operations, smart contract calls and deployment, DeFi actions, and gas/network analytics.
Provides tools for uploading images and NFT metadata to IPFS and for creating NFTs with IPFS-hosted metadata.
Provides tools for interacting with Polygon Amoy, including balances, token transfers, NFT operations, contract interactions, DeFi actions, and network/gas queries.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EVM Chains MCP Server what's the ETH balance for 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb on Sepolia?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EVM Chains MCP Server
The most comprehensive EVM MCP server - 111 tools across 7 chains with complete DeFi suite
🌟 Features
Multi-Chain Support (7 EVM Networks)
Ethereum (Sepolia)
Polygon (Amoy)
Avalanche (Fuji)
Binance Smart Chain (Testnet)
Arbitrum (Sepolia)
Base (Sepolia)
Worldchain (Testnet)
Comprehensive Tool Set (111 Tools)
The server provides 111 tools across a wide range of categories. For a full, up-to-date list and counts by category, please use the evm_help or evm_list_tools_by_category commands.
Future Tool Expansion (TODO)
The following chain-specific tools were planned and can be considered for future development:
Chain-Specific Tools (48) - Specialized features:
Avalanche: Subnets, C-Chain, staking (12 tools)
Worldchain: World ID, sequencer (15 tools)
Polygon: Bridge (6 tools)
Base: L2 features (8 tools)
Arbitrum: Arbitrum-specific (4 tools)
BSC: PancakeSwap, BEP-20 (3 tools)
Related MCP server: Universal Crypto MCP
🚀 Quick Start
Installation
npm install -g evm-chains-mcp-serverConfiguration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"evm-chains": {
"command": "evm-chains-mcp-server",
"env": {
"ETHEREUM_RPC_URL": "https://eth-sepolia.g.alchemy.com/v2/YOUR_KEY",
"POLYGON_RPC_URL": "https://polygon-amoy.g.alchemy.com/v2/YOUR_KEY",
"AVALANCHE_RPC_URL": "https://api.avax-test.network/ext/bc/C/rpc"
}
}
}
}Usage Examples
// Universal tools - work on any chain
evm_get_balance({
chain: "ethereum",
address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
})
// Execute a swap on Avalanche using TraderJoe
evm_execute_swap({
chain: "avalanche",
dex: "traderjoe",
tokenIn: "0x...", // e.g., WAVAX address
tokenOut: "0x...", // e.g., USDC address
amountIn: "1.0",
slippageTolerance: "0.5",
privateKey: "0x..."
})
// Check NFT on Polygon
evm_get_nft_info({
chain: "polygon",
contractAddress: "0x...",
tokenId: "1"
})🎯 Why This Server?
vs. mcpdotdirect/evm-mcp-server (Market Leader)
✅ 3.6x more tools (108 vs 30)
✅ Complete DeFi suite (swaps, liquidity, yield)
✅ Advanced help system (AI-powered tool discovery)
✅ Chain-specific features (deep integrations)
vs. GOAT MCP (200+ tools)
✅ EVM-focused (not split across Solana + EVM)
✅ Specialized for Ethereum ecosystem
✅ Better organized (universal vs chain-specific)
vs. Armor Crypto MCP
✅ Self-hosted (no API key required)
✅ Open source (full control & privacy)
✅ Production-ready (not pre-alpha)
📚 Documentation
Tool Categories
The available tools are organized into primary and advanced categories. For the authoritative, current list and category counts, use evm_list_tools_by_category.
Core (11 tools)
evm_get_balance: Get native token balanceevm_get_transaction: Get transaction details by hashevm_get_chain_info: Get comprehensive blockchain informationevm_get_block: Get block information by height or hashevm_validate_address: Validate Ethereum address formatevm_get_account_info: Get comprehensive account informationevm_get_transaction_history: Get transaction history countevm_send_transaction: Broadcast a signed transactionevm_send_native_transfer: Send native tokensevm_get_gas_price: Get current gas priceevm_estimate_gas: Estimate gas for a transaction
Wallet (5 tools)
evm_create_wallet: Generate new wallet with mnemonicevm_import_wallet: Import wallet from private key or mnemonicevm_generate_address: Generate new addresses from walletevm_get_wallet_info: Get comprehensive wallet informationevm_sign_message: Sign message with private key
Tokens (8 tools)
evm_get_token_balance: Get ERC-20 token balanceevm_get_token_info: Get token metadataevm_transfer_token: Transfer ERC-20 tokensevm_approve_token: Approve token spendingevm_get_token_allowance: Check token allowanceevm_deploy_token: Deploy new ERC-20 tokenevm_mint_token: Mint tokens (if mintable)evm_burn_token: Burn tokens (if burnable)
Contracts (8 tools)
evm_call_contract: Call contract read functionevm_send_contract_transaction: Send transaction to a contract write functionevm_get_contract_abi: Get a verified contract's ABIevm_decode_contract_data: Decode transaction input dataevm_encode_contract_data: Encode function call into transaction dataevm_deploy_contract: Deploy a smart contract from bytecodeevm_encode_function_data: Encode function call dataevm_decode_function_result: Decode function return data
DeFi (8 tools)
evm_get_dex_quote: Get estimated swap output from a DEXevm_execute_swap: Execute a token swap on a DEXevm_get_pool_info: Get liquidity pool informationevm_add_liquidity: Add liquidity to a DEX poolevm_remove_liquidity: Remove liquidity from a DEX poolevm_get_user_liquidity: Get a user's liquidity positionsevm_get_farming_rewards: Get pending farming/staking rewardsevm_claim_farming_rewards: Claim farming/staking rewards
NFT (14 tools)
evm_mint_nft: Mint a new NFTevm_get_nft_metadata: Get complete NFT metadataevm_transfer_nft: Transfer an NFTevm_get_nft_balance: Get the count of NFTs owned in a collectionevm_approve_nft: Approve an address to spend a specific NFTevm_get_nft_approved: Get the approved address for a specific NFTevm_is_approved_for_all: Check if an operator is approved for all NFTsevm_set_approval_for_all: Approve or revoke operator for all NFTsevm_get_nft_info: Get basic info about an NFTevm_get_nfts_by_owner: Get all NFTs owned by an address in a collectionevm_get_nft_owner: Get the owner of a specific NFTevm_create_nft_with_ipfs: Create NFT assets and upload to IPFSevm_upload_image_to_ipfs: Upload an image to IPFSevm_create_nft_metadata: Create and upload NFT metadata to IPFS
Network & Gas (8 tools)
evm_get_network_status: Get network health metricsevm_get_gas_oracle: Get gas price recommendationsevm_estimate_transaction_cost: Estimate total transaction costevm_get_block_gas_limit: Get block gas limit and usageevm_get_base_fee: Get EIP-1559 base fee trendsevm_get_priority_fee: Get EIP-1559 priority fee recommendationsevm_resolve_ens: Resolve an ENS name to an addressevm_lookup_address: Reverse resolve an address to an ENS name
Analytics (5 tools)
evm_get_account_analytics: Analyze account activityevm_get_portfolio_value: Calculate total portfolio valueevm_get_transaction_analytics: Analyze transaction patternsevm_get_gas_analytics: Analyze historical gas usageevm_get_token_holdings_summary: Get a summary of token holdings
Help & Discovery (3 tools)
evm_help: Get help on topicsevm_list_tools_by_category: List all toolsevm_search_tools: Search tools by keyword
Supported Chains
Chain | Network | Chain ID | Native Token |
Ethereum | Sepolia | 11155111 | ETH |
Polygon | Amoy | 80002 | POL |
Avalanche | Fuji | 43113 | AVAX |
BSC | Testnet | 97 | BNB |
Arbitrum | Sepolia | 421614 | ETH |
Base | Sepolia | 84532 | ETH |
Worldchain | Testnet | 4801 | WLD |
🔧 Development
# Clone repository
git clone https://github.com/yourusername/evm-chains-mcp-server.git
cd evm-chains-mcp-server
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build
npm run build
# Test with MCP Inspector
npm run inspect📖 Examples
See examples/ directory for complete usage examples:
🤝 Contributing
Contributions welcome! See CONTRIBUTING.md
📄 License
MIT License - see LICENSE
🙏 Acknowledgments
Built on Model Context Protocol
Powered by ethers.js
Inspired by the blockchain MCP community
Built with ❤️ for the Ethereum ecosystem
Troubleshooting
Worldchain Connection: The public RPC for the Worldchain testnet was updated. The configuration in
src/types/chains.tshas been corrected to usehttps://worldchain-sepolia.g.alchemy.com/public.
Available Tools
113 toolsevm_add_liquidityA
Add liquidity to DEX pool to earn trading fees from swaps. Requires both tokens, returns LP tokens.
CRITICAL RULES:
MUST approve both tokenA and tokenB before adding liquidity
Amounts must match pool price ratio (use evm_get_pool_info)
Receives LP tokens representing pool share
Earns fees proportional to share (typically 0.25-0.3%)
Requires gas in native token
PARAMETERS:
tokenA, tokenB: Token pair addresses (required)
amountA, amountB: Token amounts matching pool ratio (required)
slippageTolerance: Price change tolerance "0.5" = 0.5% (required)
privateKey: Must hold both tokens and gas (required)
EXAMPLES: ✅ Add 100 USDC + equivalent WETH to Polygon QuickSwap: {chain: "polygon", dex: "quickswap", tokenA: "0x2791Bca...", tokenB: "0x7ceB23fD...", amountA: "100", amountB: "0.05", slippageTolerance: "0.5", privateKey: "0x..."}
WORKFLOW:
Get pool ratio (evm_get_pool_info)
Calculate matching amounts
Approve both tokens for router
Add liquidity (this tool)
Receive LP tokens
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.
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
Inputs: dex (required), chain (required), tokenA (required), tokenB (required), +4 more.
evm_approve_nftA
Approve address to spend specific NFT or operate on entire collection.
Two approval modes: single token (approve) or all tokens (setApprovalForAll). Single approval for specific sales. Operator approval for marketplace contracts to manage all NFTs.
CRITICAL RULES:
Must own NFT for single approval
Operator approval affects ALL NFTs in collection
Requires gas for transaction
Previous approvals overwritten
Revoke by approving zero address
Marketplace contracts need operator approval
PARAMETERS:
chain: EVM chain to execute on (required)
Must have gas in native token
contractAddress: NFT collection address (required)
Must be valid ERC721 contract
Format: "0x..." (42 characters)
spender: Address to approve (required)
Marketplace contract or buyer address
Format: "0x..." (42 characters)
tokenId: Token ID for single approval (optional)
Mutually exclusive with approveAll
Must own this token
approveAll: Approve all NFTs flag (optional)
Set true for operator approval
Mutually exclusive with tokenId
privateKey: Owner's private key (required)
Must own the NFT(s)
Format: "0x..." (64 hex characters)
EXAMPLES: ✅ Approve single NFT for sale: {chain: "polygon", contractAddress: "0x7227E4D7...", spender: "0x742d35Cc...", tokenId: "42", privateKey: "0xac0974..."}
✅ Approve marketplace as operator: {chain: "ethereum", contractAddress: "0xBC4CA0E...", spender: "0xMarketplace...", approveAll: true, privateKey: "0xac0974..."}
❌ Invalid - both tokenId and approveAll: {chain: "polygon", contractAddress: "0x7227E4D7...", spender: "0x742d35Cc...", tokenId: "42", approveAll: true, privateKey: "0xac0974..."}
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: Approval confirmation • transactionHash: On-chain transaction hash • approvalType: "single" or "operator" • spender: Approved address • tokenId: Approved token (if single)
COMMON MISTAKES:
Using operator approval for single sale (unnecessary)
Not revoking operator approval after use
Approving without verifying spender address
Forgetting approval expires on transfer
USE CASES:
List NFT on marketplace
Enable marketplace to manage collection
Pre-approve buyer for direct sale
Grant operator rights to auction contract
Revoke previous approvals
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
Inputs: chain (required), spender (required), privateKey (required), contractAddress (required), +2 more.
evm_approve_tokenA
Approve ERC20 token spending allowance for a spender address (DEX, lending protocol, or other contract).
Grants permission for another address to spend your tokens on your behalf. Required before using DeFi protocols, DEX swaps, or any contract interaction that needs to transfer your tokens. Does NOT transfer tokens immediately.
CRITICAL RULES:
Approval does NOT transfer tokens - only grants permission
Required before DEX swaps, staking, lending, or any DeFi operations
"unlimited" approval is convenient but risky (allows spender to take all tokens)
Approval is per-token, per-spender, per-chain (must approve separately for each)
Can be revoked by approving amount "0"
Requires gas payment in native token
PARAMETERS:
chain: EVM chain to execute approval on (required)
Approval is chain-specific
Must have gas in native token on this chain
Token and spender must exist on same chain
tokenAddress: ERC20 token contract to approve (required)
Format: 0x followed by 40 hex characters
Token you want to allow spender to transfer
Examples: USDC, USDT, DAI, WETH
spenderAddress: Address receiving approval (required)
Typically a smart contract (DEX router, lending pool)
Format: 0x followed by 40 hex characters
Examples: Uniswap Router, Aave Pool, custom contract
VERIFY THIS ADDRESS - malicious spenders can steal tokens
amount: Approval amount (required)
Human-readable format: "100" = 100 tokens
Use "unlimited" or "max" for maximum approval (2^256-1)
Use "0" to revoke existing approval
Best practice: approve only amount needed
privateKey: Token owner's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must be key for address holding tokens
Never expose, share, or log this value
EXAMPLES: ✅ Approve 100 USDC for Uniswap on Polygon: {chain: "polygon", tokenAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", spenderAddress: "0xE592427A0AEce92De3Edee1F18E0157C05861564", amount: "100", privateKey: "0xac0974..."}
✅ Approve unlimited WETH for DEX (convenient but risky): {chain: "arbitrum", tokenAddress: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", spenderAddress: "0x...", amount: "unlimited", privateKey: "0x..."}
✅ Revoke approval (security best practice): {chain: "bsc", tokenAddress: "0x...", spenderAddress: "0x...", amount: "0", privateKey: "0x..."}
❌ Invalid - approving EOA instead of contract: {chain: "polygon", spenderAddress: "0xPersonalWallet..."} // Personal wallets don't need approval
❌ Invalid - wrong chain for spender: {chain: "ethereum", spenderAddress: "0xPolygonOnlyRouter..."} // Spender not on Ethereum
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 approval success • chain: Chain where approval executed • transactionHash: Transaction hash for approval • tokenAddress: Token contract approved • spenderAddress: Address granted spending permission • amount: Amount approved (formatted) • owner: Token owner address (from privateKey) • gasUsed: Gas consumed by transaction • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Forgetting to approve before attempting DEX swap (will fail)
Approving personal wallet addresses (unnecessary)
Not revoking old approvals to unused contracts (security risk)
Approving wrong token or wrong spender
Unlimited approval to unaudited contracts (dangerous)
Not checking approval succeeded before next operation
USE CASES:
Enable DEX token swaps (approve router to spend token A)
Deposit tokens to lending protocols (approve pool contract)
Stake tokens in farming contracts (approve staking contract)
Bridge tokens across chains (approve bridge contract)
Interact with any DeFi protocol requiring token transfers
APPROVAL WORKFLOW:
Identify spender address (DEX router, lending pool, etc.)
Approve token for spender (this tool)
Wait for approval transaction confirmation
Execute main operation (swap, stake, lend)
Optionally revoke approval after operation (security)
SECURITY CONSIDERATIONS:
Unlimited approvals are convenient but dangerous
Malicious contracts can drain approved tokens
Approve only verified, audited contracts
Revoke unused approvals periodically
Use exact amounts when possible (not unlimited)
Check spender address multiple times before approving
GAS COSTS:
Approval typically costs 45,000-50,000 gas
Ethereum Sepolia: ~0.001 ETH
Polygon: ~0.00005 POL (very cheap)
BSC: ~0.0001 BNB
Arbitrum/Base: ~0.0001 ETH
CHECKING EXISTING APPROVALS: Use evm_get_token_allowance to check current approval amount before approving again.
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
Inputs: chain (required), amount (required), privateKey (required), tokenAddress (required), +1 more.
evm_bridge_tokensC
Bridge tokens between EVM chains using official bridge contracts
Supports major bridge protocols for cross-chain token transfers. Handles approval, fee calculation, and estimated arrival times.
SUPPORTED ROUTES:
Ethereum ↔ Polygon, Arbitrum, Optimism, Base
Polygon ↔ Avalanche, BSC
Arbitrum ↔ Optimism
All major L1 ↔ L2 bridges
PARAMETERS:
sourceChain: Source blockchain
targetChain: Destination blockchain
token: Token address to bridge
amount: Amount to bridge
recipient: Recipient address on target chain (optional)
privateKey: Private key for signing
slippage: Slippage tolerance (default 0.5%)
Returns transaction hash, bridge fee, and estimated arrival time.
Inputs: token (required), amount (required), privateKey (required), sourceChain (required), +4 more.
evm_burn_tokenA
Burn (destroy) tokens permanently, removing them from circulation and reducing total supply.
Destroys tokens from your balance, sending them to zero address or removing from supply entirely. Deflationary mechanism used to reduce supply, increase scarcity, or implement tokenomics.
CRITICAL RULES:
Token contract MUST support burning (not all ERC20 tokens do)
Tokens are PERMANENTLY destroyed (cannot be recovered)
Decreases total supply (deflationary)
Caller must own the tokens being burned
Transaction is irreversible once confirmed
Typically increases remaining token value (reduced supply)
PARAMETERS:
chain: EVM chain where token is deployed (required)
Token must support burning on this chain
Requires gas payment in native token
tokenAddress: Burnable token contract address (required)
Format: 0x followed by 40 hex characters
Must be token with burn() function
Typically custom tokens or some DeFi tokens
Standard tokens (USDC, USDT) may not support burning
amount: Amount to burn in token units (required)
Human-readable format: "100" = 100 tokens
Automatically converted using token decimals
Must have sufficient balance to burn
Examples: "1000", "50.5", "100000"
privateKey: Token holder's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must be address holding tokens to burn
Must have sufficient token balance
Never expose, share, or log this value
EXAMPLES: ✅ Burn 100 tokens to increase scarcity (Polygon): {chain: "polygon", tokenAddress: "0xYourToken...", amount: "100", privateKey: "0xac0974..."}
✅ Burn tokens as part of buyback program (BSC): {chain: "bsc", tokenAddress: "0x...", amount: "10000", privateKey: "0x..."}
✅ Burn small amount for testing (Arbitrum): {chain: "arbitrum", tokenAddress: "0x...", amount: "1", privateKey: "0x..."}
❌ Invalid - insufficient balance: {amount: "1000000"} // Only have 100 tokens
❌ Invalid - token doesn't support burning: {tokenAddress: "0xUSDC..."} // USDC doesn't allow public burning
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 burn success • chain: Chain where burning occurred • transactionHash: Burn transaction hash • tokenAddress: Token contract address • amount: Amount burned (formatted) • burner: Burner address (from privateKey) • newTotalSupply: Updated total supply after burn • remainingBalance: Your remaining token balance • gasUsed: Gas consumed by transaction • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Trying to burn more tokens than you own
Burning tokens that don't support burn function
Not considering impact on tokenomics
Burning on wrong chain (token not deployed there)
Accidentally burning too much (cannot undo)
USE CASES:
Deflationary tokenomics (reduce supply over time)
Buyback and burn programs (increase token value)
Remove mistakenly minted tokens
Implement fee burning mechanism
Liquidity removal (burn LP tokens)
Reward token burns for staking
Automatic burning from transaction fees
BURN MECHANICS:
Permanently removes tokens from circulation
Reduces total supply (deflationary)
Cannot be reversed or recovered
Typically increases token scarcity and value
Updates all balance calculations
TOKENOMICS IMPACT:
Decreases total supply (deflationary)
Can increase remaining token value
Should align with economic model
Consider: burn rate, utility, scarcity
GAS COSTS:
Similar to token transfers (~50,000-65,000 gas)
Ethereum Sepolia: ~0.001-0.002 ETH
Polygon: ~0.00005 POL (very cheap)
BSC: ~0.0001 BNB
Arbitrum/Base: ~0.0001 ETH
SECURITY NOTES:
Cannot undo burn operations (permanent)
Verify amount before burning (double-check)
Test with small amounts first
Consider implementing burn caps
Monitor total supply after burns
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
Inputs: chain (required), amount (required), privateKey (required), tokenAddress (required).
evm_calculate_arbitrageB
Calculate arbitrage opportunities across DEX pools.
Compares token prices across multiple DEXs to identify profitable arbitrage trades. Factors in gas costs, slippage, and flash loan fees.
PARAMETERS:
chain: Target EVM chain
tokenIn: Input token address
tokenOut: Output token address
amountIn: Amount to arbitrage in token units
dexes: DEX names to compare (e.g., ["uniswap", "sushiswap"])
ANALYSIS: • Compares prices across multiple DEXs • Calculates net profit after gas and fees • Identifies best arbitrage route • Estimates execution risk
Returns profit opportunity, optimal route, and execution instructions.
Inputs: chain (required), tokenIn (required), amountIn (required), tokenOut (required), +1 more.
evm_callB
Execute a read-only contract call without creating a transaction
Inputs: to (required), data (required), chain (required), from, +2 more.
evm_call_contractA
Call a smart contract view/pure function for read-only access (no gas cost, no state changes).
Executes contract function locally without broadcasting transaction. Used to query contract state, read data, or simulate operations. No blockchain state modifications - perfect for getting information.
CRITICAL RULES:
Only works with view/pure functions (read-only)
NO gas cost (local execution)
Does NOT modify blockchain state
Requires contract ABI to understand function interface
Parameters must match function signature exactly
Returns data immediately (no transaction confirmation needed)
PARAMETERS:
chain: EVM chain where contract is deployed (required)
Contract must exist on specified chain
Different chains may have different contract instances
contractAddress: Smart contract address (required)
Format: 0x followed by 40 hex characters
Must be deployed contract
Examples: DEX routers, NFT contracts, lending pools
abi: Contract Application Binary Interface (required)
JSON array defining contract interface
Get from block explorer (verified contracts)
Defines function names, parameters, return types
Example: [{"name":"balanceOf","inputs":[...],"outputs":[...]}]
functionName: Name of function to call (required)
Must be view or pure function
Exact name as defined in contract
Case-sensitive (balanceOf ≠ BalanceOf)
Examples: "balanceOf", "totalSupply", "getReserves"
params: Function parameters array (optional)
Must match function signature order
Correct types: addresses as strings, numbers as strings
Empty array [] if function takes no parameters
Examples: ["0x742d35..."], ["100", "200"], []
EXAMPLES: ✅ Check token balance (ERC20 balanceOf): {chain: "polygon", contractAddress: "0x2791Bca...", abi: [...ERC20_ABI], functionName: "balanceOf", params: ["0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"]}
✅ Get DEX pool reserves: {chain: "arbitrum", contractAddress: "0xPairAddress...", abi: [...], functionName: "getReserves", params: []}
✅ Check NFT owner: {chain: "ethereum", contractAddress: "0xNFT...", abi: [...ERC721_ABI], functionName: "ownerOf", params: ["1"]}
❌ Invalid - trying to call write function: {functionName: "transfer"} // transfer modifies state, use evm_send_contract_transaction
❌ Invalid - wrong parameter count: {functionName: "balanceOf", params: []} // balanceOf requires address parameter
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 call success • chain: Chain queried • contractAddress: Contract called • functionName: Function executed • result: Return value(s) from function (decoded) • resultRaw: Raw hex-encoded return data • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using with write functions (will fail - use evm_send_contract_transaction)
Wrong parameter types (address as number, etc.)
Missing required parameters
Wrong ABI (function signature doesn't match)
Incorrect parameter order
Not handling complex return types (tuples, arrays)
USE CASES:
Query token balances without transactions
Get DEX prices and reserves
Check NFT ownership and metadata URIs
Read lending protocol rates
Verify contract state before writing
Simulate operations locally
VIEW/PURE FUNCTIONS:
view: Reads blockchain state (storage, balance, etc.)
pure: No state access (pure computation)
Both execute locally (no gas, no transaction)
Common examples:
balanceOf(address) - token balance
totalSupply() - total tokens
getReserves() - DEX reserves
ownerOf(uint256) - NFT owner
GETTING CONTRACT ABI:
Etherscan/PolygonScan - verified contracts show ABI
Block explorer "Contract" tab
Project GitHub repository
npm packages for common contracts (@uniswap/v2-core)
ABI EXAMPLES: ERC20 balanceOf ABI: [{ "name": "balanceOf", "type": "function", "stateMutability": "view", "inputs": [{"name": "account", "type": "address"}], "outputs": [{"name": "balance", "type": "uint256"}] }]
RETURN VALUE TYPES:
Single value: Returned directly
Multiple values: Returned as array
Struct/tuple: Returned as object
Array: Returned as array
BigNumber strings for large numbers
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
Inputs: abi (required), chain (required), functionName (required), contractAddress (required), +1 more.
evm_cast_voteC
Cast votes in DAO governance proposals
Participate in on-chain governance for major protocols. Supports Compound, Uniswap, Aave, Maker, and more.
SUPPORTED PROTOCOLS:
Ethereum: Compound, Uniswap, Aave, Maker, ENS
Polygon: QuickSwap, Aavegotchi, Balancer
Avalanche: Pangolin, Benqi, TraderJoe
BSC: PancakeSwap, Venus, Alpaca
Arbitrum: ArbitrumDAO, GMX, Radiant
PARAMETERS:
chain: Target blockchain
protocol: Governance protocol
proposalId: Proposal ID to vote on
support: Vote direction (for/against/abstain)
reason: On-chain reason for vote (optional)
privateKey: Private key with voting power
Returns vote receipt, proposal stats, and quorum status.
Inputs: chain (required), support (required), protocol (required), privateKey (required), +3 more.
evm_claim_farming_rewardsB
Claim farming/staking rewards from farm contract (PLACEHOLDER - limited implementation).
Executes claim transaction to receive earned rewards. Requires gas.
PARAMETERS:
chain, farmContract, privateKey: Required
EXAMPLES: ✅ {chain: "polygon", farmContract: "0xFarm...", privateKey: "0x..."}
NOTE: Placeholder - farm contract must support claim function.
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.
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
Inputs: chain (required), privateKey (required), farmContract (required).
evm_compound_rewardsA
Auto-compound DeFi yield farming rewards for optimized returns.
Automatically harvests pending rewards and re-stakes them in the same vault/pool to maximize compound interest. Supports major yield aggregators across all 7 EVM chains.
CRITICAL RULES:
Requires gas in native token for transaction
May require multiple protocol interactions (harvest + stake)
Some protocols auto-compound (no action needed)
Minimum reward threshold prevents dust compounding
Transaction irreversible once confirmed
PARAMETERS:
chain: EVM chain to execute on (required)
Protocol must be deployed on this chain
Requires gas in native token
vaultOrPool: Vault or pool address (required)
Format: 0x followed by 40 hex characters
Must be valid farming contract
privateKey: Transaction signer's private key (required, KEEP SECRET)
Must be address with staked position
Never expose, share, or log
strategy: Compound strategy (optional, default: auto_compound)
claim_and_restake: Harvest rewards then deposit
auto_compound: Call protocol's compound function
harvest_only: Just claim rewards without re-staking
minReward: Minimum reward to compound (optional)
Prevents compounding dust amounts
In reward token units
Example: "0.1" to only compound if rewards > 0.1
EXAMPLES: ✅ Auto-compound Beefy vault: {chain: "polygon", vaultOrPool: "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE", privateKey: "0xac0974...", strategy: "auto_compound"}
✅ Harvest and re-stake on Yearn: {chain: "ethereum", vaultOrPool: "0x...", privateKey: "0x...", strategy: "claim_and_restake", minReward: "0.5"}
✅ Just harvest rewards: {chain: "avalanche", vaultOrPool: "0x...", privateKey: "0x...", strategy: "harvest_only"}
❌ Invalid - insufficient gas: {chain: "polygon", ...} // No POL for gas
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 • transactionHash: Transaction hash for tracking • rewardsHarvested: Amount of rewards claimed • rewardsCompounded: Amount re-staked • compoundBoost: Percentage increase in position • gasUsed: Gas consumed • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not having gas for transaction
Compounding dust amounts (use minReward)
Wrong strategy for protocol
Not waiting for pending transactions
USE CASES:
Maximize yield farming returns
Automate reward management
Optimize compound frequency
Batch harvest from multiple pools
SUPPORTED PROTOCOLS:
Beefy Finance: Auto-compounding vaults
Yearn Finance: Yield optimization
Harvest Finance: Automated farming
Autofarm: Multi-chain yield aggregator
Adamant Finance: Polygon vaults
Benqi: Avalanche lending/staking
Yield Yak: Avalanche auto-compounder
Alpaca Finance: Leveraged yield farming
Jones DAO: Arbitrum strategies
GAS COSTS:
Simple compound: 100,000-150,000 gas
Claim + restake: 200,000-300,000 gas
Ethereum Sepolia: ~0.002-0.003 ETH
Polygon: ~0.00005 POL (very cheap)
BSC: ~0.0001 BNB
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
Inputs: chain (required), privateKey (required), vaultOrPool (required), strategy, +1 more.
evm_create_nft_metadataA
Create NFT metadata JSON and upload to IPFS.
Creates ERC721 metadata JSON with image reference, uploads to IPFS. Use after uploading image with evm_upload_image_to_ipfs. Returns metadata URI for minting.
CRITICAL RULES:
Requires PINATA_API_KEY in environment
imageUri must be ipfs:// format
Returns metadata URI for minting
PARAMETERS:
name: NFT name (required)
description: NFT description (required)
imageUri: Image IPFS URI (required)
Format: "ipfs://QmHash..."
attributes: Traits (optional)
external_url: External link (optional)
ipfsApiKey: Override API key (optional)
EXAMPLES: ✅ Create metadata: {name: "My NFT", description: "Cool art", imageUri: "ipfs://QmABC123..."}
✅ With attributes: {name: "Rare NFT", description: "Limited", imageUri: "ipfs://QmABC...", attributes: [{"trait_type": "Rarity", "value": "Epic"}]}
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: • metadata: Full metadata object • ipfsHash: Metadata IPFS CID • uri: ipfs://... (use for minting) • gatewayUrl: Public URL
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
Inputs: name (required), imageUri (required), description (required), attributes, +2 more.
evm_create_nft_with_ipfsA
Create complete NFT with automatic IPFS upload for image and metadata.
End-to-end NFT asset creation: uploads image to IPFS, creates ERC721 metadata JSON with image reference, uploads metadata to IPFS. Returns metadata URI ready for minting with evm_mint_nft.
CRITICAL RULES:
Requires PINATA_API_KEY in environment
Uploads image first, then metadata
Returns metadata URI for minting
Does NOT mint on-chain (use evm_mint_nft after)
Image can be URL or local path
PARAMETERS:
imageUrl: Image URL to upload (optional)
HTTP/HTTPS URL to image file
Mutually exclusive with imagePath
imagePath: Local image path (optional)
Absolute path to local image file
Mutually exclusive with imageUrl
name: NFT name (required)
Display name for the NFT
description: NFT description (required)
Detailed description of the NFT
attributes: NFT traits (optional)
Array of {trait_type, value} objects
Standard ERC721 metadata format
external_url: External URL (optional)
Link to external website
ipfsApiKey: IPFS API key (optional)
Overrides PINATA_API_KEY env var
EXAMPLES: ✅ Create from URL: {imageUrl: "https://example.com/art.png", name: "Cool NFT", description: "My first NFT"}
✅ Create from local file: {imagePath: "/Users/me/art.jpg", name: "Local Art", description: "Uploaded from disk"}
✅ With attributes: {imageUrl: "https://example.com/art.png", name: "Rare NFT", description: "Limited edition", attributes: [{"trait_type": "Rarity", "value": "Legendary"}]}
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: • image.ipfsHash: Image IPFS CID • image.uri: ipfs://... URI • image.gatewayUrl: Public IPFS gateway URL • metadata.ipfsHash: Metadata IPFS CID • metadata.uri: ipfs://... URI (use this for minting!) • metadata.gatewayUrl: Public metadata URL
COMMON MISTAKES:
Not setting PINATA_API_KEY environment variable
Trying to provide both imageUrl and imagePath
Using metadata URI instead of just the hash
Forgetting to mint after creating assets
USE CASES:
Complete NFT creation workflow
Prepare NFT for minting
Upload art with metadata
Create NFT collection assets
Automated NFT generation
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
Inputs: name (required), description (required), imageUrl, imagePath, +3 more.
evm_create_token_safeB
Deploy ERC20 token with enhanced safety features.
Creates token with built-in protections: max transaction limits, anti-whale mechanisms, trading pauses, and ownership controls.
PARAMETERS:
chain: Target EVM chain
name: Token name
symbol: Token symbol
decimals: Token decimals (default: 18)
initialSupply: Initial token supply
maxTransactionPercent: Max tx as % of supply (anti-whale)
maxWalletPercent: Max wallet holding as % of supply
privateKey: Deployer private key
SAFETY FEATURES: • Max transaction size limits • Max wallet holding limits • Emergency pause capability • Ownership controls • Anti-bot mechanisms • Burn capability
Returns deployed token address, safety parameters, and admin controls.
Inputs: name (required), chain (required), symbol (required), privateKey (required), +4 more.
evm_create_token_streamA
Create continuous token streaming/vesting schedule.
Sets up linear vesting streams for salaries, grants, or payment scheduling. Tokens unlock continuously over time (Sablier-style).
PARAMETERS:
chain: Target EVM chain
streamType: linear | dynamic (optional, default: linear)
token: ERC20 token address to stream
recipient: Stream recipient address
totalAmount: Total amount to stream
duration: Stream duration in seconds
startTime: Unix timestamp start (optional, default: now)
cliffDuration: Cliff period in seconds (optional, default: 0)
cancelable: Whether sender can cancel (optional, default: true)
privateKey: Sender's private key
streamingContract: Streaming contract address (optional override)
STREAMING: • Linear vesting over time period • Recipient can withdraw unlocked tokens anytime • Sender can cancel and recover unvested tokens • No intermediaries or trust required • Common for salaries and grants
Returns stream ID, unlock schedule, and withdrawal instructions.
Inputs: chain (required), token (required), duration (required), recipient (required), +7 more.
evm_create_walletA
Create a new HD wallet with BIP39 mnemonic phrase and derived address.
Generates a cryptographically secure hierarchical deterministic (HD) wallet using BIP39 standard. Returns mnemonic phrase, private key, and address. Works identically across all EVM chains.
CRITICAL RULES:
Mnemonic phrase is the master secret (NEVER share or log it)
Private key derived using BIP44 path: m/44'/60'/0'/0/0
Same mnemonic generates same address on all EVM chains
Store mnemonic securely - it cannot be recovered if lost
Wallet is created locally (not registered on-chain)
PARAMETERS:
chain: EVM chain context (required but doesn't affect generation)
Same wallet works on all EVM chains
Chain parameter for consistency with other tools
Wallet address is identical across ethereum, polygon, bsc, etc.
EXAMPLES: ✅ Create new wallet: {chain: "polygon"}
✅ Generate wallet for multi-chain use: {chain: "ethereum"}
✅ Create test wallet: {chain: "bsc"}
❌ Invalid - chain doesn't exist: {chain: "bitcoin"}
❌ Invalid - typo in chain: {chain: "etherium"}
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 • chain: Chain context used • mnemonic: 12-word BIP39 seed phrase (KEEP SECRET) • privateKey: Hex-encoded private key (KEEP SECRET) • address: Public wallet address (0x...) • derivationPath: BIP44 path used (m/44'/60'/0'/0/0) • warning: Security reminder about mnemonic storage • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Logging or displaying mnemonic in production
Not backing up mnemonic before using wallet
Assuming wallet is registered on-chain (it's not)
Sharing private key instead of public address
Using same wallet for testing and production
USE CASES:
Generate fresh wallet for user onboarding
Create burner wallets for testing
Implement multi-chain wallet solutions
Generate addresses for cold storage
Automate wallet creation for services
SECURITY BEST PRACTICES:
Store mnemonic in encrypted form
Never transmit mnemonic over network
Use hardware wallets for significant funds
Implement mnemonic backup flows for users
Consider multi-sig for high-value accounts
WALLET LIFECYCLE:
Generate with this tool → get mnemonic + address
Backup mnemonic securely
Fund address via faucet or transfer
Use private key to sign transactions
Import to MetaMask/other wallets using mnemonic
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
Inputs: chain (required), includeSecrets.
evm_decode_contract_dataA
Decode transaction input data to understand what function was called and with what parameters.
Takes raw hex transaction data and ABI to decode function name and parameters. Essential for understanding transactions on block explorers, auditing contract interactions, and debugging failed transactions.
CRITICAL RULES:
Requires correct ABI for contract being decoded
Data must start with function selector (first 4 bytes)
Parameters decoded based on ABI parameter types
Decoding only works if ABI matches contract
Complex types (tuples, arrays) properly structured in output
PARAMETERS:
chain: EVM chain context (required)
Used for context, doesn't affect decoding
Helps identify which chain's transaction
abi: Contract ABI (required)
Must include function being decoded
Function selector computed from signature
All parameter types must be defined
Get from block explorer or project docs
data: Transaction input data to decode (required)
Format: 0x followed by hex characters
First 4 bytes: function selector
Remaining bytes: encoded parameters
Get from transaction details on block explorer
EXAMPLES: ✅ Decode ERC20 transfer transaction: {chain: "polygon", abi: [...ERC20_ABI], data: "0xa9059cbb000000000000000000000000742d35cc6634c0532925a3b844bc9e7595f0beb0000000000000000000000000000000000000000000000000de0b6b3a7640000"}
✅ Decode DEX swap transaction: {chain: "arbitrum", abi: [...ROUTER_ABI], data: "0x38ed1739..."}
✅ Decode NFT mint transaction: {chain: "ethereum", abi: [...NFT_ABI], data: "0xa0712d68..."}
❌ Invalid - wrong ABI: {abi: [...ERC721_ABI], data: "0xERC20TransferData"} // ABI mismatch
❌ Invalid - invalid data format: {data: "not-hex-data"} // Must be 0x... hex string
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 decoding success • chain: Chain context • functionName: Name of function called • functionSignature: Full function signature • parameters: Array of decoded parameters with names and values • methodId: Function selector (first 4 bytes) • decodedData: Human-readable representation • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using wrong ABI (from different contract)
Missing function definition in ABI
Truncated or malformed data
Not handling complex parameter types
Confusing input data with output data
USE CASES:
Understand what a transaction does before executing
Audit historical transactions
Debug failed transactions
Verify transaction parameters
Build transaction explorers
FUNCTION SELECTOR: First 4 bytes of input data:
Computed from function signature
Example: transfer(address,uint256)
Keccak256 hash, first 4 bytes
Used to identify function being called
DECODING PROCESS:
Extract function selector (first 4 bytes)
Match selector to function in ABI
Extract parameter types from ABI
Decode remaining data using types
Return function name and parameters
PARAMETER TYPES: Common Solidity types decoded:
address: Ethereum addresses
uint256: Large integers (as strings)
bytes: Byte arrays
string: Text strings
bool: True/false
arrays: Multiple values
tuples: Structured data
EXAMPLE DECODED OUTPUT: { functionName: "transfer", parameters: [ {name: "recipient", type: "address", value: "0x742d35..."}, {name: "amount", type: "uint256", value: "1000000000000000000"} ] }
WHERE TO GET INPUT DATA:
Block explorer transaction details
Pending transaction before broadcast
Transaction receipt logs
Wallet transaction history
Contract event logs
DEBUGGING FAILED TRANSACTIONS:
Get failed transaction hash
View on block explorer
Copy input data
Decode with this tool
Understand what was attempted
Fix parameters and retry
COMPLEX TYPES: Arrays and tuples decoded recursively:
address[]: ["0x...", "0x...", "0x..."]
(uint256,string): {amount: "100", name: "Token"}
Nested structures: Full object hierarchy
SECURITY AUDITING: Use to verify transactions:
Check recipient addresses
Verify amounts being transferred
Confirm function being called
Detect suspicious patterns
Audit contract interactions
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
Inputs: abi (required), data (required), chain (required).
evm_decode_function_resultA
Decode function return data from transaction or call.
Takes hex-encoded return data and decodes it according to the function's return types defined in the ABI. Essential for interpreting contract call results and transaction outputs.
CRITICAL RULES:
Requires correct ABI for function being decoded
Data must be hex-encoded return data (0x-prefixed)
Returns both formatted (named) and raw (array) results
Handles BigInt serialization for JSON compatibility
Function must have return values defined in ABI
PARAMETERS:
chain: EVM chain context (required)
abi: Contract ABI (required)
functionName: Function name that returned this data (required)
data: Hex-encoded return data to decode (required)
EXAMPLES: ✅ Decode ERC20 balance: {chain: "polygon", abi: [...ERC20_ABI], functionName: "balanceOf", data: "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000"}
✅ Decode multiple return values: {chain: "ethereum", abi: [...], functionName: "getReserves", data: "0x..."}
✅ Decode struct returns: {chain: "arbitrum", abi: [...], functionName: "getPoolInfo", data: "0x..."}
❌ Invalid - wrong function name: {functionName: "wrongFunction", data: "0x..."} // ABI mismatch
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: • decodedResult: Formatted result with named outputs • rawResult: Raw array of decoded values • functionName: Function that was decoded
COMMON MISTAKES:
Using wrong ABI for decoding
Mismatched function name
Truncated or malformed data
Not handling BigInt values properly
USE CASES:
Interpret contract call results
Decode transaction return data
Parse multicall results
Debug contract interactions
Extract values from view function calls
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
Inputs: abi (required), data (required), chain (required), functionName (required).
evm_deploy_contractA
Deploy a smart contract from bytecode with constructor arguments.
Creates and deploys a contract to the blockchain using provided bytecode and ABI. Waits for deployment confirmation and returns the deployed contract address.
CRITICAL RULES:
Requires sufficient gas for deployment (typically 200k-500k gas)
Constructor args must match ABI parameter types exactly
Bytecode must be valid and 0x-prefixed hex string
Deployer receives all initial state/tokens in contract
Contract address is deterministic based on deployer + nonce
PARAMETERS:
chain: Target EVM chain for deployment
bytecode: Contract bytecode (0x-prefixed hex)
abi: Contract ABI including constructor definition
constructorArgs: Constructor parameters (optional, empty array if none)
privateKey: Deployer's private key (requires gas for deployment)
EXAMPLES: ✅ Deploy simple contract: {chain: "polygon", bytecode: "0x608060...", abi: [...], constructorArgs: [], privateKey: "0x..."}
✅ Deploy with constructor args: {chain: "ethereum", bytecode: "0x608060...", abi: [...], constructorArgs: ["Token Name", "TKN", 18], privateKey: "0x..."}
❌ Invalid - missing bytecode: {chain: "polygon", abi: [...], privateKey: "0x..."}
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: • contractAddress: Deployed contract address • transactionHash: Deployment transaction hash • deployer: Deployer address (from private key) • gasUsed: Gas consumed in deployment
COMMON MISTAKES:
Not having enough gas for deployment
Wrong constructor arg types or order
Using malformed bytecode
Deploying to wrong chain
USE CASES:
Deploy custom tokens or NFT collections
Deploy DeFi protocol contracts
Deploy governance or DAO contracts
Test contract deployment on testnets
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
Inputs: abi (required), chain (required), bytecode (required), privateKey (required), +1 more.
evm_deploy_nftA
Deploy new ERC721 NFT collection with customizable name and symbol.
Deploys OpenZeppelin-based MintableNFT contract where deployer becomes owner and can mint unlimited NFTs. Uses ERC721URIStorage for individual token metadata URIs (IPFS, HTTP, or on-chain).
CRITICAL RULES:
Deployer becomes contract owner
Only owner can mint NFTs
Each NFT can have unique metadata URI
Requires gas for deployment transaction
Based on OpenZeppelin v5.1.0 (audited, secure)
PARAMETERS:
chain: Target blockchain (required)
Must have gas in native token
Examples: "polygon", "ethereum", "base"
name: Collection name (required)
Display name for the NFT collection
Examples: "My Art Collection", "Cool Punks"
symbol: Collection symbol (required)
Ticker symbol for the collection
Usually 3-5 uppercase letters
Examples: "MYART", "CPUNK"
privateKey: Deployer private key (required)
Becomes owner with minting rights
Must have sufficient gas funds
Format: "0x..." (64 hex characters)
EXAMPLES: ✅ Deploy art collection: {chain: "polygon", name: "Digital Art Collection", symbol: "DART", privateKey: "0xac0974..."}
✅ Deploy gaming NFTs: {chain: "base", name: "Game Items", symbol: "GITM", privateKey: "0xac0974..."}
✅ Deploy profile pictures: {chain: "ethereum", name: "Profile Pics", symbol: "PPIC", privateKey: "0xac0974..."}
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: • deployment.nftContractAddress: Deployed contract address (use for minting!) • deployment.transactionHash: Deployment transaction hash • collection.name: Verified collection name • collection.symbol: Verified collection symbol • collection.owner: Owner address (can mint) • collection.features: Contract capabilities • nextSteps: Complete workflow guidance
WORKFLOW:
Deploy collection (this tool)
Create assets: evm_create_nft_with_ipfs (upload image + metadata to IPFS)
Mint NFT: evm_mint_nft (with contractAddress from deployment)
Transfer/approve: Standard ERC721 operations
COMMON MISTAKES:
Not having enough gas for deployment (~0.01-0.05 testnet tokens)
Trying to mint before deployment completes
Losing contract address (save nftContractAddress!)
Using mainnet instead of testnet for testing
USE CASES:
Create NFT collection for testing minting workflows
Deploy collection before generating art
Set up collection for marketplace integration
Create testnet collection for development
SECURITY:
OpenZeppelin v5.1.0 contracts (audited, October 2025)
Owner-controlled minting (only you can mint)
SafeMint protection (validates receiver contracts)
No supply limit (unlimited minting capability)
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
Inputs: name (required), chain (required), symbol (required), privateKey (required).
evm_deploy_tokenA
Deploy a new ERC20 token contract with customizable name and symbol to any EVM chain.
Creates and deploys a gas-optimized ERC20 token contract with YOUR chosen name and symbol. Decimals fixed at 18 (standard). Deployer address becomes the initial token holder. Requires significant gas for contract deployment.
CRITICAL RULES:
Contract deployment requires MORE gas than regular transactions (200,000-500,000 gas)
Deployer address receives all initial supply tokens
Token contract address is deterministic (based on deployer address + nonce)
Once deployed, contract code is immutable on blockchain
Name and symbol cannot be changed after deployment
Decimals hardcoded to 18 for gas efficiency and standardization
Implementation is minimal but fully functional and tested
PARAMETERS:
chain: EVM chain to deploy token on (required)
Deployment gas costs vary significantly by chain
Ethereum: Very expensive (~$50-100 at peak)
Polygon/BSC: Cheap ($0.10-0.50)
Choose testnet chains for experimentation
name: Token name (required)
Human-readable name (e.g., "My Project Token")
Displayed in wallets and explorers
Cannot be changed after deployment
Examples: "USD Coin", "Wrapped Ether", "My Token"
symbol: Token ticker symbol (required)
Short identifier (typically 3-5 characters)
All caps by convention (e.g., "USDC", "WETH", "MTK")
Displayed in trading interfaces
Cannot be changed after deployment
initialSupply: Initial token supply (required)
Decimals fixed at 18 (standard, same as ETH)
Human-readable format (e.g., "1000000" = 1 million tokens)
All tokens minted to deployer address
Consider tokenomics (total supply, inflation, etc.)
Example: "1000000000" (1 billion tokens)
privateKey: Deployer's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must have sufficient native token for gas
Becomes contract deployer and initial token holder
Never expose, share, or log this value
EXAMPLES: ✅ Deploy custom token on Polygon testnet: {chain: "polygon", name: "Test USD Coin", symbol: "TUSDC", initialSupply: "1000000", privateKey: "0xac0974..."}
✅ Deploy project token on BSC testnet: {chain: "bsc", name: "My Project Token", symbol: "MPT", initialSupply: "1000000000", privateKey: "0x..."}
✅ Deploy on Arbitrum: {chain: "arbitrum", name: "Wrapped Test Bitcoin", symbol: "WTBTC", initialSupply: "21000000", privateKey: "0x..."}
❌ Invalid - insufficient gas: {chain: "ethereum", ...} // Need ~0.05 ETH for gas
❌ Invalid - symbol too long: {symbol: "MYLONGTOKEN"} // Keep under 5 chars
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 deployment success • chain: Chain where token deployed • deployment.transactionHash: Deployment transaction hash • deployment.tokenAddress: New token contract address • deployment.deployer: Deployer address (from privateKey) • token.name: Token name (verified from contract) • token.symbol: Token symbol (verified) • token.decimals: Always 18 (hardcoded) • token.totalSupply: Initial supply (formatted) • verification.allChecks: Boolean confirming deployment matches parameters • gasUsed: Gas consumed (usually 150,000-300,000) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not having enough gas for deployment (check balance first with evm_get_balance)
Using mainnet for testing (ALWAYS use testnet chains)
Not saving token contract address (critical for all future token operations)
Typos in name/symbol (cannot change after deployment - double check!)
Forgetting decimals are fixed at 18 (adjust accounting if needed)
USE CASES:
Launch new cryptocurrency or token
Create project governance token
Deploy loyalty or reward points system
Test token economics on testnet
Create wrapped/synthetic assets
DEPLOYMENT GAS COSTS (approximate):
Ethereum Sepolia: ~0.005-0.01 ETH (testnet)
Polygon Amoy: ~0.001 POL (very cheap)
BSC Testnet: ~0.002 BNB
Arbitrum Sepolia: ~0.001 ETH
Avalanche Fuji: ~0.002 AVAX
POST-DEPLOYMENT STEPS:
Save token contract address (critical!)
Verify contract on block explorer (optional but recommended)
Add token to wallet (import using contract address)
Distribute tokens to users (evm_transfer_token)
Set up liquidity if needed (DEX operations)
SECURITY NOTES:
Test on testnet first before mainnet deployment
Verify token name/symbol/decimals before deploying
Ensure sufficient gas (deployment costs more than transfers)
Contract code is immutable - cannot fix bugs after deployment
Consider adding pausable/mintable features (requires custom contract)
LIMITATIONS:
Decimals fixed at 18 (cannot be customized)
No advanced features (additional minting, burning, pausing)
Basic ERC20 implementation (standard transfer/approve/allowance)
Not audited - recommended for testnet use only
Gas-optimized minimal bytecode for lower deployment costs
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
Inputs: name (required), chain (required), symbol (required), privateKey (required), +2 more.
evm_detect_sandwichB
Detect MEV sandwich attacks in transactions or blocks.
Analyzes transactions for frontrunning patterns where attackers profit by sandwiching user trades. Identifies sandwich bots, victims, and profit estimates.
PARAMETERS:
chain: Target EVM chain
transactionHash: Check if specific tx was sandwiched (optional)
blockNumber: Analyze all sandwich attacks in block (optional)
victimAddress: Check if address was victimized (optional)
timeWindow: Number of recent blocks to analyze (default: 100)
DETECTION: • Identifies frontrun + victim + backrun patterns • Detects same-attacker sequences • Recognizes DEX interaction signatures • Provides MEV protection recommendations
Returns detected sandwich patterns, statistics, and protection strategies.
Inputs: chain (required), timeWindow, blockNumber, victimAddress, +1 more.
evm_encode_contract_dataA
Encode function call into transaction input data for raw transaction construction.
Converts function name and parameters into hex-encoded transaction data. Used for building raw transactions, batch operations, multi-sig proposals, or when you need transaction data before signing.
CRITICAL RULES:
Requires correct ABI for function being encoded
Parameters must match function signature exactly
Output is hex-encoded transaction input data
Can be used in raw transactions or eth_sendRawTransaction
Function selector automatically prepended to encoded parameters
PARAMETERS:
chain: EVM chain context (required)
Used for context, doesn't affect encoding
Helps identify target chain
abi: Contract ABI (required)
Must include function being encoded
Function signature used for selector computation
Parameter types define encoding rules
Get from block explorer or project docs
functionName: Name of function to encode (required)
Exact name as in contract
Case-sensitive
Examples: "transfer", "approve", "swapExactTokensForTokens"
params: Function parameters array (optional)
Must match function signature order and types
Correct types critical for proper encoding
Empty array [] if no parameters
Examples: ["0x742d35...", "1000"], []
EXAMPLES: ✅ Encode ERC20 transfer: {chain: "polygon", abi: [...ERC20_ABI], functionName: "transfer", params: ["0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "1000000000000000000"]}
✅ Encode token approval: {chain: "arbitrum", abi: [...], functionName: "approve", params: ["0xSpender...", "115792089237316195423570985008687907853269984665640564039457584007913129639935"]}
✅ Encode function with no parameters: {chain: "ethereum", abi: [...], functionName: "totalSupply", params: []}
❌ Invalid - wrong parameter types: {params: [1000, "0xAddress"]} // Numbers should be strings
❌ Invalid - parameter count mismatch: {functionName: "transfer", params: ["0xAddress"]} // Missing amount parameter
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 encoding success • chain: Chain context • functionName: Function being encoded • functionSignature: Full function signature • encodedData: Hex-encoded transaction data (0x...) • methodId: Function selector (first 4 bytes) • parameters: Original parameters provided • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Wrong parameter types (number instead of string)
Incorrect parameter order
Missing required parameters
Using wrong ABI
Not converting values to proper units
USE CASES:
Build raw transactions manually
Prepare multi-sig transaction proposals
Batch multiple contract calls
Create transaction data for wallets
Simulate transactions before signing
ENCODING PROCESS:
Compute function selector from signature
Encode each parameter by type
Concatenate selector + encoded params
Return hex string with 0x prefix
FUNCTION SELECTOR: First 4 bytes of encoded data:
Keccak256 hash of function signature
Example: transfer(address,uint256)
Always 8 hex characters (4 bytes)
Uniquely identifies function
PARAMETER ENCODING: Types encoded differently:
address: 20 bytes, left-padded to 32 bytes
uint256: 32 bytes, big-endian
string: Length-prefixed, hex-encoded
bytes: Length-prefixed, raw bytes
arrays: Length + elements
bool: 0x00 (false) or 0x01 (true)
USING ENCODED DATA:
Build raw transaction object
Set 'data' field to encoded output
Set 'to' field to contract address
Sign transaction with private key
Broadcast with eth_sendRawTransaction
RAW TRANSACTION EXAMPLE: { to: "0xContractAddress", data: "0xa9059cbb000000000000000000000000...", // From this tool gasLimit: "100000", gasPrice: "20000000000", nonce: 42, chainId: 137 }
MULTI-SIG PROPOSALS:
Encode function call (this tool)
Create proposal with encoded data
Collect signatures from signers
Execute multi-sig transaction
BATCH OPERATIONS: Encode multiple calls:
Encode each function call separately
Combine encoded data in batch contract
Execute all in single transaction
COMPLEX PARAMETERS: Encoding arrays and tuples:
address[]: Multiple addresses
(uint256,string): Structured data
Nested types: Recursive encoding
VERIFICATION: After encoding:
Decode with evm_decode_contract_data
Verify function and parameters correct
Double-check before signing
SECURITY NOTES:
Verify parameters before encoding
Check function name is correct
Test with small amounts first
Understand what function does
Use on testnet before mainnet
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
Inputs: abi (required), chain (required), functionName (required), params.
evm_encode_function_dataB
Encode function call into transaction input data for raw transaction construction.
Converts function name and parameters into hex-encoded transaction data. Used for building raw transactions, batch operations, multi-sig proposals, or when you need transaction data before signing.
CRITICAL RULES:
Requires correct ABI for function being encoded
Parameters must match function signature exactly
Output is hex-encoded transaction input data
Can be used in raw transactions or eth_sendRawTransaction
Function selector automatically prepended to encoded parameters
PARAMETERS:
chain: EVM chain context (required)
abi: Contract ABI (required)
functionName: Name of function to encode (required)
params: Function parameters array (optional)
EXAMPLES: ✅ Encode ERC20 transfer: {chain: "polygon", abi: [...ERC20_ABI], functionName: "transfer", params: ["0x742d35Cc...", "1000000000000000000"]}
✅ Encode token approval: {chain: "arbitrum", abi: [...], functionName: "approve", params: ["0xSpender...", "115792089237316195423570985008687907853269984665640564039457584007913129639935"]}
✅ Encode function with no parameters: {chain: "ethereum", abi: [...], functionName: "totalSupply", params: []}
❌ Invalid - wrong parameter types: {params: [1000, "0xAddress"]} // Numbers should be strings
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: • encodedData: Hex-encoded transaction data (0x...) • selector: Function selector (first 4 bytes) • functionSignature: Full function signature
COMMON MISTAKES:
Wrong parameter types (number instead of string)
Incorrect parameter order
Missing required parameters
Using wrong ABI
Not converting values to proper units
USE CASES:
Build raw transactions manually
Prepare multi-sig transaction proposals
Batch multiple contract calls
Create transaction data for wallets
Simulate transactions before signing
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
Inputs: abi (required), chain (required), functionName (required), args.
evm_estimate_bridge_feeA
Estimate total fees for bridging tokens between EVM chains with detailed cost breakdown.
Calculates comprehensive bridge costs including source chain gas, target chain gas, relayer fees, protocol fees, and finalization costs. Compares canonical bridges vs third-party bridges to help users choose the most cost-effective route for their cross-chain transfer needs.
CRITICAL RULES:
Read-only operation (no gas cost)
Estimates may vary from actual costs (gas prices fluctuate)
Different bridge protocols have different fee structures
L2→L1 bridges have additional finalization costs
Canonical bridges slower but cheaper than third-party
Urgency affects relayer fee calculations
PARAMETERS:
sourceChain: Chain to bridge from (required)
Must have bridge contract deployed
Different chains have different canonical bridges
Format: ethereum, polygon, arbitrum, etc.
targetChain: Chain to bridge to (required)
Must be connected to sourceChain via bridge
Cannot bridge to same chain
Some routes require hub chains
token: Token address to bridge (required)
Format: 0x followed by 40 hex characters
Must be supported by bridge protocol
Native tokens use wrapped versions
Example: USDC has different addresses per chain
amount: Amount to bridge (required)
Human-readable format: "100" = 100 tokens
Used to calculate percentage-based fees
Affects liquidity availability checks
Large amounts may have higher slippage
bridgeProtocol: Specific bridge to use (optional)
Options: canonical, hop, stargate, across, synapse, celer
Default: canonical (official bridge)
Third-party bridges faster but require trust
Each has different fee structure
urgency: Speed preference (optional, default: standard)
Options: economy, standard, fast
Affects relayer fee calculation
Economy: 10% discount, slower confirmation
Standard: Normal fees, normal speed
Fast: 50% premium, priority processing
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: • totalCost: Complete fee breakdown in USD and native tokens • sourceGas: Source chain gas fees • bridgeFee: Bridge protocol fees • relayerFee: Transaction relayer costs • targetGas: Destination chain finalization fees • estimatedTime: Total time to completion • route: Bridge path used (direct or multi-hop) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not accounting for both source and destination gas
Assuming all bridges have same fee structure
Forgetting finalization costs on L2→L1 transfers
Using wrong token addresses for different chains
Not considering urgency vs cost tradeoffs
USE CASES:
Compare bridge costs before transferring
Budget for cross-chain operations
Choose between canonical vs third-party bridges
Calculate total cost including gas and fees
Plan large token transfers across chains
BRIDGE TYPES:
Canonical: Native chain bridges (most secure, slower)
Third-party: External protocols (faster, additional trust)
Layer 2: Optimistic rollup bridges (7-day challenge period)
Sidechain: Faster but less secure than L2s
FEE COMPONENTS:
Source gas: Transaction costs on origin chain
Bridge fee: Protocol-specific transfer fees
Relayer fee: Speed-based priority fees
Target gas: Finalization costs on destination
Liquidity fees: Pool-based bridging costs
COST OPTIMIZATION:
Use canonical bridges for large amounts
Batch multiple transfers when possible
Choose economy for non-urgent transfers
Compare multiple bridge protocols
Time transfers for low gas periods
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
Inputs: token (required), amount (required), sourceChain (required), targetChain (required), +2 more.
evm_estimate_feesA
Estimate total transaction cost with detailed EIP-1559 breakdown.
Simulates transaction to estimate gas usage, then calculates cost using current gas prices. Returns detailed breakdown: gas limit, base fee, priority fee, and total cost in native token and USD.
CRITICAL RULES:
Estimation may differ from actual (contract state changes)
Read-only operation (no gas cost)
Includes safety margin in gas limit
Requires sender to have sufficient balance
Complex contract calls need 'data' parameter
Value must be in ether units
PARAMETERS:
chain: EVM chain to estimate on (required)
Each chain has different gas costs
from: Sender address (required)
Must have balance for value transfer
Format: "0x..." (42 characters)
to: Recipient address (required)
EOA for transfers, contract for calls
Format: "0x..." (42 characters)
value: Amount to send (optional)
In ether units (e.g., "1.5")
Omit for contract calls without value
data: Transaction data (optional)
For contract interactions
Format: "0x..." (hex encoded)
EXAMPLES: ✅ Estimate simple ETH transfer: {chain: "ethereum", from: "0x742d35Cc...", to: "0x8626f6940...", value: "0.1"}
✅ Estimate token transfer cost: {chain: "polygon", from: "0x742d35Cc...", to: "0xTokenContract...", data: "0xa9059cbb..."}
✅ Estimate contract call with value: {chain: "bsc", from: "0x742d35Cc...", to: "0xContract...", value: "1.0", data: "0x12345678..."}
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: • gasLimit: Estimated gas units required • baseFee: EIP-1559 base fee (wei) • priorityFee: Suggested priority fee (wei) • totalGasCost: Total in native token • totalUSD: Estimated USD cost (if available) • breakdown: Detailed cost components
COMMON MISTAKES:
Not including data for contract interactions
Using wei instead of ether for value
Estimating with insufficient sender balance
Forgetting to add buffer for gas fluctuations
Not re-estimating before actual submission
USE CASES:
Display transaction cost to users before signing
Validate wallet has sufficient balance
Compare costs across different chains
Optimize contract interactions
Budget for transaction fees
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
Inputs: to (required), from (required), chain (required), data, +1 more.
evm_estimate_gasA
Estimate gas required for a transaction with automatic 20% safety buffer.
Simulates transaction execution to determine gas consumption. Returns estimated gas limit with built-in safety buffer to prevent out-of-gas failures.
CRITICAL RULES:
Estimation simulates execution without committing to blockchain
Includes 20% safety buffer above raw estimate
May fail if transaction would revert (shows reason)
Gas estimate varies based on contract state and input data
"from" address must have sufficient balance if checking value transfers
PARAMETERS:
chain: EVM chain for gas estimation (required)
Gas costs are chain-specific
Same transaction uses different gas on different chains
Example: Contract call may cost 200k gas on Ethereum, 150k on Polygon
from: Sender address (optional but recommended)
Required for checking balance requirements
Affects gas calculation for some contracts
Use zero address (0x0000...0000) if unknown
to: Target address (required)
Contract address for contract calls
EOA address for simple transfers
Format: 0x followed by 40 hex characters
value: Amount to send in ether (optional)
For native currency transfers
Example: "0.1" for 0.1 ETH/POL/etc.
Leave empty for zero-value transactions
data: Transaction data (optional)
Hex-encoded function call data for contracts
Empty for simple transfers
Format: 0x + hex string
EXAMPLES: ✅ Estimate simple transfer: {chain: "polygon", to: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", value: "0.1"}
✅ Estimate contract call: {chain: "ethereum", from: "0x...", to: "0x...", data: "0xa9059cbb..."}
✅ Check deployment gas: {chain: "bsc", to: "0x0000000000000000000000000000000000000000", data: "0x608060..."}
❌ Invalid - missing recipient: {chain: "polygon", value: "1.0"} // No "to" address
❌ Invalid - wrong data format: {chain: "ethereum", to: "0x...", data: "abc123"} // Missing 0x prefix
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 estimation success • chain: Chain used for estimation • estimatedGas: Raw gas estimate (units) • gasLimit: Recommended gas limit (with 20% buffer) • estimatedCost: Approximate cost in native currency • gasPrice: Current gas price used for cost calculation • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not including "from" when balance checks matter
Using estimated gas without safety buffer (use gasLimit instead)
Estimating with stale state (contract state may change)
Forgetting gas estimates can fail if transaction would revert
Not accounting for gas price in total cost calculation
USE CASES:
Calculate transaction costs before signing
Verify contract interactions will succeed
Determine optimal gas limits for transactions
Compare gas costs across different contract methods
Budget for transaction batches
GAS ESTIMATION TIPS:
Add 20-30% buffer to raw estimates for safety
Re-estimate before submitting if state has changed
Higher gas limit doesn't cost more (only gas used is charged)
Failed estimates often indicate transaction will revert
Contract calls use more gas than simple transfers
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
Inputs: to (required), chain (required), data, from, +1 more.
evm_execute_flash_loanA
Execute flash loan from Aave, dYdX, Balancer, or other providers.
Borrow large amounts without collateral, execute arbitrage/liquidations, repay in same transaction. Validates atomicity - transaction reverts if loan isn't repaid.
PARAMETERS:
chain: Target EVM chain
provider: Flash loan provider (aave, dydx, balancer, uniswapV3, etc.) - optional, auto-selects best
asset: Token address to borrow
amount: Amount to borrow in token units
callbackContract: Your contract that receives/repays loan
callbackData: Encoded data for callback (optional)
privateKey: Private key for signing
profitEstimate: Expected profit for cost analysis (optional)
FLASH LOAN PROVIDERS: • Aave: 0.09% fee, most chains • dYdX: 0% fee, Ethereum only • Balancer: 0% fee, select chains • Uniswap V3: 0.05-0.3% fee
ATOMICITY GUARANTEE: • Pre-flight gas estimation validates repayment • Transaction fails if callback doesn't repay • No risk of unpaid flash loans
Returns tx hash, fees paid, and profit analysis.
Inputs: asset (required), chain (required), amount (required), privateKey (required), +4 more.
evm_execute_swapA
Execute token swap on DEX with automatic slippage protection and deadline.
Broadcasts swap transaction to DEX router. Requires prior token approval. Protects against price movement with slippage tolerance. Transaction fails if output below minimum acceptable amount.
CRITICAL RULES:
MUST approve tokenIn for DEX router BEFORE swapping (use evm_approve_token)
Requires gas in native token (ETH, POL, etc.)
Slippage protection prevents unfavorable execution
Transaction has deadline (typically 20 minutes)
Actual output may be less than quote due to price movement
Irreversible once confirmed
PARAMETERS:
chain: EVM chain to execute swap on (required)
Must have gas in native token
Different gas costs per chain
dex: DEX protocol name (required)
Must be deployed on selected chain
Examples: "uniswap", "quickswap", "pancakeswap"
tokenIn: Input token to swap from (required)
Token you're selling
Must approve this token for router first
Format: 0x followed by 40 hex characters
tokenOut: Output token to receive (required)
Token you're buying
Format: 0x followed by 40 hex characters
Must have liquidity pair with tokenIn
amountIn: Amount to swap (required)
Human-readable format: "100" = 100 tokens
Must have sufficient balance
Examples: "1.0", "100", "0.5"
slippageTolerance: Maximum price slippage (required)
Percentage as decimal: "0.5" = 0.5%
Common values: "0.5" (low), "1" (medium), "5" (high)
Higher slippage = more likely to succeed but worse price
Lower slippage = better price but may fail
privateKey: Transaction signer's private key (required, KEEP SECRET)
Must be address holding tokenIn
Must have gas for transaction
Never expose, share, or log
EXAMPLES: ✅ Swap 100 USDC to WETH on Polygon with 0.5% slippage: {chain: "polygon", dex: "quickswap", tokenIn: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", tokenOut: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", amountIn: "100", slippageTolerance: "0.5", privateKey: "0xac0974..."}
✅ Swap 1 ETH to USDC on Ethereum with 1% slippage: {chain: "ethereum", dex: "uniswap", tokenIn: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", tokenOut: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", amountIn: "1.0", slippageTolerance: "1", privateKey: "0x..."}
✅ High slippage for volatile tokens (BSC): {chain: "bsc", dex: "pancakeswap", tokenIn: "0xToken...", tokenOut: "0xBUSD...", amountIn: "50", slippageTolerance: "5", privateKey: "0x..."}
❌ Invalid - no token approval: {amountIn: "100"} // Must approve tokenIn first
❌ Invalid - insufficient balance: {amountIn: "10000"} // Only have 100 tokens
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 swap success • chain: Chain where swap executed • transactionHash: Transaction hash for tracking • dex: DEX protocol used • tokenIn: Input token address • tokenOut: Output token address • amountIn: Amount swapped (formatted) • amountOut: Amount received (formatted) • priceImpact: Actual price impact percentage • gasUsed: Gas consumed • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Forgetting to approve tokens before swap (will fail)
Insufficient gas for transaction
Slippage too low (transaction fails)
Not checking quote before swap
Swapping during high volatility (large slippage)
USE CASES:
Trade tokens for different tokens
Rebalance portfolio
Take profits or cut losses
Arbitrage between chains
Convert tokens for DeFi operations
PRE-SWAP CHECKLIST:
Check tokenIn balance (evm_get_token_balance)
Check gas balance (evm_get_balance)
Get quote (evm_get_dex_quote)
Approve tokenIn for router (evm_approve_token)
Execute swap (this tool)
SLIPPAGE TOLERANCE GUIDE:
0.1-0.5%: Stable pairs (USDC/USDT), low volatility
0.5-1%: Normal conditions, major tokens
1-3%: Moderate volatility, medium liquidity
3-5%: High volatility, low liquidity
5%+: Extreme volatility or very low liquidity
TRANSACTION FLOW:
Get quote for amountOut estimate
Calculate minAmountOut = quote * (1 - slippage/100)
Approve tokenIn if needed
Execute swap with slippage protection
Transaction reverts if output < minAmountOut
Deadline prevents pending transactions
GAS COSTS:
Simple swap (direct pair): 150,000-200,000 gas
Multi-hop swap: 250,000-350,000 gas
Ethereum Sepolia: ~0.003-0.005 ETH
Polygon: ~0.0001 POL
BSC: ~0.0003 BNB
PRICE IMPACT: Large swaps move price:
Monitor priceImpact in output
Consider splitting large orders
Check liquidity before swapping
Higher impact = worse execution price
FAILED TRANSACTIONS: Common failure reasons:
Insufficient approval
Slippage exceeded
Deadline passed
Insufficient liquidity
Transaction reverted
SECURITY NOTES:
Verify token addresses carefully
Check DEX router address is official
Start with small test swaps
Monitor transaction on explorer
Beware of fake tokens with similar names
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
Inputs: dex (required), chain (required), tokenIn (required), amountIn (required), +3 more.
evm_filter_logsB
Filter and decode blockchain event logs
Query historical events from smart contracts with advanced filtering. Automatically decodes common events like Transfer, Approval, Swap.
FEATURES:
Filter by contract, topics, block range
Automatic event decoding
Support for event signatures
Statistics and aggregation
PARAMETERS:
chain: Target blockchain
contractAddress: Contract to filter logs from
topics: Event topics array (optional)
fromBlock: Starting block
toBlock: Ending block
eventSignature: Event signature (optional)
decodeData: Decode log data (default true)
limit: Max logs to return (default 100)
Returns decoded events with timestamps and statistics.
Inputs: chain (required), contractAddress (required), limit, topics, +4 more.
evm_find_bridge_routesA
Find all available bridge routes between EVM chains with liquidity and cost analysis.
Discovers direct and multi-hop bridge paths for cross-chain token transfers. Evaluates each route by speed, security, cost, and liquidity to help users choose optimal bridging strategy. Includes both canonical (native) and third-party bridge options.
CRITICAL RULES:
Read-only operation (no gas cost)
Returns multiple route options for comparison
Direct routes preferred over multi-hop
Canonical routes most secure but slowest
Third-party routes faster but require trust
Multi-hop increases fees and complexity
PARAMETERS:
sourceChain: Starting chain (required)
Must have bridge support
Format: ethereum, polygon, arbitrum, etc.
targetChain: Destination chain (required)
Must be reachable from source
Cannot be same as source
May require hub chain for indirect routes
token: Token to bridge (required)
Token symbol (USDC, WETH) or address (0x...)
Must exist on source chain
May have different addresses on target chain
Wrapped native tokens for bridging (ETH → WETH)
amount: Amount to bridge (optional)
Used for liquidity checks
Format: "100" = 100 tokens
Large amounts may limit route options
Omit for route discovery only
preferences: Route preferences (optional)
Object with speed, security, maxHops settings
Filters routes based on requirements
Default: {speed: 'any', security: 'any', maxHops: 2}
Preference fields:
speed: Route speed requirement
instant: <5 minutes (third-party only)
fast: <30 minutes (third-party)
standard: <2 hours (any bridge)
any: no speed requirement (default)
security: Security level requirement
high: Canonical bridges only
medium: Established third-party bridges
any: All available bridges (default)
maxHops: Maximum number of bridge hops
1: Direct routes only
2: One intermediate chain allowed
3: Maximum complexity
EXAMPLES: ✅ Find routes for USDC from Polygon to Ethereum: {sourceChain: "polygon", targetChain: "ethereum", token: "USDC", amount: "100"}
✅ Find fastest routes regardless of cost: {sourceChain: "arbitrum", targetChain: "base", token: "0x...", preferences: {speed: "instant", security: "any"}}
✅ Find secure routes only: {sourceChain: "bsc", targetChain: "avalanche", token: "WETH", preferences: {speed: "any", security: "high", maxHops: 1}}
❌ Invalid - same source and target: {sourceChain: "polygon", targetChain: "polygon", token: "USDC"}
❌ Invalid - token not supported: {sourceChain: "ethereum", targetChain: "polygon", token: "0xUnknownToken..."}
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: • routes: Array of available bridge routes
protocol: Bridge protocol name
path: Chain sequence (source → intermediate → target)
estimatedTime: Total time to completion
estimatedCost: Total fees in USD and native tokens
liquidity: Available liquidity for amount
security: Security level (high/medium/low)
recommended: Boolean indicating best overall option • bestRoute: Recommended route with reasoning • alternatives: Other viable options • warnings: Any route-specific warnings or limitations • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not specifying amount for accurate liquidity checks
Ignoring security implications of third-party bridges
Not considering multi-hop complexity and fees
Assuming all tokens available on all bridges
Forgetting bridge maintenance or downtime
USE CASES:
Compare bridge options before transferring
Find cheapest route for large transfers
Discover fastest paths for urgent transfers
Plan complex multi-chain strategies
Research bridge ecosystem capabilities
ROUTE EVALUATION CRITERIA:
Direct vs Multi-hop: Direct preferred when available
Security: Canonical > Established third-party > New protocols
Cost: Lower fees preferred (all else equal)
Speed: Faster routes for urgent transfers
Liquidity: Must support transfer amount
BRIDGE ECOSYSTEM:
Canonical: Native chain bridges (Arbitrum Bridge, Polygon Bridge)
Established: Hop, Stargate, Across, Synapse, Celer
Layer 2: Optimism, Base, Arbitrum native bridges
Sidechain: Polygon, BSC native bridges
Cross-chain: LayerZero, Axelar for complex routes
LIQUIDITY CONSIDERATIONS:
Major tokens (USDC, WETH) widely supported
Smaller tokens may have limited bridge options
Large transfers need sufficient pool liquidity
Multi-hop routes split liquidity requirements
Check liquidity before finalizing route choice
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
Inputs: token (required), sourceChain (required), targetChain (required), amount, +1 more.
evm_generate_addressA
Generate specific address from mnemonic using custom BIP44 derivation parameters.
Derives addresses from a mnemonic seed phrase using customizable BIP44 path components. Perfect for generating multiple addresses from a single seed or matching hardware wallet addresses.
CRITICAL RULES:
Generates deterministic addresses (same inputs = same output)
Default path m/44'/60'/0'/0/0 generates first address
Index parameter most commonly changed (generates address sequence)
Account parameter for separate "accounts" from same seed
All generated addresses work on all EVM chains
PARAMETERS:
chain: EVM chain context (required)
Doesn't affect generation (addresses work everywhere)
Used for optional balance checking
mnemonic: BIP39 seed phrase (required)
12 or 24 words separated by spaces
Must be valid BIP39 phrase
Example: "test test test test test test test test test test test junk"
index: Address index (optional, default: 0)
Most commonly modified parameter
Generates sequence: index 0, 1, 2, 3...
MetaMask/wallets use sequential indices
Example: index=5 gives 6th address
account: Account number (optional, default: 0)
For separate "accounts" from same seed
Less commonly changed than index
Path: m/44'/60'/account'/0/index
change: Change index (optional, default: 0)
0 = external addresses (receiving)
1 = internal addresses (change)
Rarely changed in practice
EXAMPLES: ✅ Generate first address: {chain: "polygon", mnemonic: "test test..."}
✅ Generate 6th address: {chain: "ethereum", mnemonic: "word1 word2...", index: 5}
✅ Generate from second account: {chain: "bsc", mnemonic: "seed words...", account: 1, index: 0}
❌ Invalid - wrong mnemonic format: {chain: "polygon", mnemonic: "not-valid-words"}
❌ Invalid - negative index: {chain: "ethereum", mnemonic: "...", index: -1}
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: Generated address (0x...) • derivationPath: Full BIP44 path used • index: Address index used • account: Account number used • mnemonic: Original mnemonic (NOT recommended to return in production) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Confusing index with account (index changes more frequently)
Not matching hardware wallet derivation paths
Generating too many addresses without tracking usage
Not documenting which indices are in use
USE CASES:
Generate address sequences for user wallets
Match hardware wallet addresses (Ledger/Trezor)
Create multiple addresses from single backup
Implement HD wallet derivation
Generate fresh addresses for privacy
ADDRESS GENERATION PATTERNS:
Sequential: index 0, 1, 2, 3... (most common)
Multiple Accounts: account 0, 1, 2 with index 0 each
Hardware Wallet Match: Use same account/index as device
Change Addresses: Use change=1 for internal transfers
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
Inputs: chain (required), mnemonic (required), index, change, +1 more.
evm_generate_nft_imageA
Generate NFT image using AI, existing URL, or local file - unified tool supporting 3 input modes.
CRITICAL RULES:
Provide EXACTLY ONE of: prompt (AI), imageUrl (URL), or imagePath (file)
AI generation: Free Pollinations.ai (default) or paid services (FLUX, Stable Diffusion, Playground)
Returns image URL or path ready for IPFS upload
No blockchain interaction - pure image preparation
THREE INPUT MODES:
MODE 1: AI Generation (Free or Paid)
prompt: Text description (required for AI mode)
style: artistic, realistic, cartoon, fantasy, cyberpunk, minimalist (optional)
service: pollinations (free), flux, stable-diffusion, playground (optional, default: pollinations)
aspectRatio: 1:1, 16:9, 9:16, 4:3, 3:4 (optional, default: 1:1)
quality: standard, high, ultra (optional)
seed: Number for reproducible results (optional)
MODE 2: Existing URL
imageUrl: URL to existing image (required for URL mode)
Validates URL format, returns for IPFS upload
MODE 3: Local File
imagePath: Absolute path to local image file (required for file mode)
Returns path for IPFS upload
EXAMPLES:
✅ Free AI Generation (Pollinations): {prompt: "Cyberpunk cat with neon eyes", style: "cyberpunk"} → Uses Pollinations.ai (free, no API key needed)
✅ Paid AI Generation (FLUX): {prompt: "Photorealistic mountain landscape", service: "flux", quality: "ultra"} → Uses FLUX.1 (requires FLUX_API_KEY env var)
✅ Existing URL: {imageUrl: "https://example.com/artwork.png"} → Validates and prepares for IPFS upload
✅ Local File: {imagePath: "/Users/me/Desktop/nft-art.jpg"} → Prepares local file for IPFS upload
AI SERVICES: • Pollinations.ai - FREE, no API key, unlimited use • FLUX.1 - Requires FLUX_API_KEY + FLUX_MODEL_VERSION • Stable Diffusion - Requires HUGGINGFACE_API_KEY • Playground AI - Requires PLAYGROUND_API_KEY
OUTPUT STRUCTURE: • mode: ai_generation, existing_url, or local_file • imageUrl: Direct URL (AI or existing) • imagePath: Local file path (file mode) • model: AI service used • cost: Generation cost ($0 for Pollinations) • suggestedFilename: Recommended filename • nextSteps: What to do with the image
WORKFLOW:
Generate/select image (this tool)
Upload to IPFS: evm_create_nft_with_ipfs
Deploy NFT contract: evm_deploy_nft
Mint NFT: evm_mint_nft
COMMON MISTAKES:
Providing multiple input modes (only ONE allowed)
Expecting blockchain interaction (this is image-only)
Not setting API keys for paid services
Using relative paths instead of absolute paths
USE CASES:
Generate AI art for NFT collections
Use existing artwork from URLs
Upload local digital art files
Test NFT workflows with free images
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
Inputs: seed, model, style, prompt, +5 more.
evm_generate_permitA
Generate EIP-2612 permit signature for gasless token approvals.
Creates off-chain approval signature that can be used instead of on-chain approve() transactions. Enables gasless user experiences and meta-transactions.
PARAMETERS:
chain: Target EVM chain
tokenAddress: ERC20 token with EIP-2612 support
owner: Token owner address
spender: Address to approve
value: Approval amount in token units
privateKey: Owner's private key for signing
deadline: Unix timestamp expiry (optional, default: 1 hour)
EIP-2612 PERMIT: • No approve() transaction needed • Saves gas fees for users • One-time use signature • Can be submitted by relayers • Signature valid until deadline
Returns permit signature (v,r,s), transaction data, and usage examples.
Inputs: chain (required), owner (required), value (required), spender (required), +3 more.
evm_get_account_analyticsB
Get comprehensive account analytics: transaction count, volume, activity patterns.
CRITICAL RULES:
Read-only operation
Default analysis: 30 days
Requires transaction history
May be rate-limited on public RPCs
PARAMETERS:
chain: EVM chain (required)
address: Account to analyze (required)
days: Analysis period (optional, default: 30)
EXAMPLES: ✅ Analyze account activity: {chain: "ethereum", address: "0x742d35Cc..."} ✅ Last 7 days: {chain: "polygon", address: "0x742d35Cc...", days: 7}
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: • transactionCount: Total transactions • volume: Total value transferred • activityScore: Engagement metric • patterns: Usage trends
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
Inputs: chain (required), address (required), days.
evm_get_account_infoA
Get comprehensive account information including balance, nonce, contract code, and account type.
Retrieves complete account state from the blockchain in a single call. More efficient than multiple separate queries for balance, nonce, and contract status.
CRITICAL RULES:
Returns balance in both wei and ether units
Nonce indicates number of transactions sent from this address
Contract code is returned if address is a smart contract
All data reflects current blockchain state (not historical)
PARAMETERS:
chain: EVM chain to query (required)
Account state is chain-specific
Same address can have different states on different chains
address: Ethereum address to query (required)
Format: 0x followed by 40 hexadecimal characters
Works for both EOA and contract addresses
Example: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
EXAMPLES: ✅ Check wallet account info: {chain: "ethereum", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
✅ Inspect contract account: {chain: "polygon", address: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}
✅ Verify nonce before transaction: {chain: "bsc", address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}
❌ Invalid - wrong format: {chain: "ethereum", address: "0x123"}
❌ Invalid - not checksummed warning: {chain: "polygon", address: "0X742D35CC6634C0532925A3B844BC9E7595F0BEB"}
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 • balance: Object with wei (string) and ether (string) values • nonce: Transaction count (number of txs sent from this address) • isContract: Boolean indicating if this is a contract • contractCode: Hex string of bytecode (if contract), null otherwise • codeHash: Keccak256 hash of contract code • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Expecting historical balance (this returns current state only)
Confusing nonce with transaction count (nonce = sent transactions only)
Not checking isContract before attempting contract interactions
Assuming zero nonce means unused address (could have received funds)
USE CASES:
Get complete account overview in one call
Verify account has sufficient balance and correct nonce before signing
Determine if address is contract before attempting transfer
Audit account state for analytics
Debug transaction nonce issues
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
Inputs: chain (required), address (required).
evm_get_apyA
Calculate APY/APR for DeFi pools and vaults with reward token analysis.
Computes Annual Percentage Yield including base APY from trading fees and bonus APY from reward tokens. Essential for comparing yield opportunities across protocols and chains.
CRITICAL RULES:
Read-only operation (no gas cost)
APY fluctuates based on pool activity
Includes both base yield and reward incentives
Historical data may not predict future returns
Different protocols calculate APY differently
PARAMETERS:
chain: EVM chain to query (required)
Protocol must be deployed on this chain
protocol: DeFi protocol name (required)
Examples: "uniswap", "aave", "curve", "beefy"
Case-insensitive
poolAddress: Pool or vault address (required)
Format: 0x followed by 40 hex characters
Must be valid pool contract
includeRewards: Include reward token APY (optional, default: true)
true: Returns total APY (base + rewards)
false: Returns only base trading fee APY
EXAMPLES: ✅ Get Uniswap V3 pool APY: {chain: "ethereum", protocol: "uniswap", poolAddress: "0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8", includeRewards: true}
✅ Check Beefy vault yield: {chain: "polygon", protocol: "beefy", poolAddress: "0x...", includeRewards: true}
✅ Base APY only (no rewards): {chain: "avalanche", protocol: "traderjoe", poolAddress: "0x...", includeRewards: false}
❌ Invalid - wrong protocol name: {chain: "polygon", protocol: "uniswapv2", ...} // Use "uniswap"
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: • totalAPY: Combined APY (base + rewards) • baseAPY: APY from trading fees • rewardAPY: APY from reward tokens • projectedYields: Object with daily/weekly/monthly/annual estimates • lastUpdated: Timestamp of calculation • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Confusing APY with APR (APY includes compounding)
Not accounting for impermanent loss
Assuming APY is guaranteed (it fluctuates)
Comparing APY across different risk levels
USE CASES:
Compare yield opportunities
Calculate projected earnings
Monitor pool performance
Optimize capital allocation
Track yield farming ROI
APY CALCULATION METHODS:
Trading Fees: Based on 24h volume and liquidity
Reward Tokens: Uses emission rate and token price
Vault APY: Measures pricePerShare growth
Compound APY: Accounts for auto-compounding
PROTOCOLS SUPPORTED:
DEXs: Uniswap, SushiSwap, Curve, PancakeSwap, QuickSwap
Lending: Aave, Compound, Venus, Benqi
Vaults: Beefy, Yearn, Harvest, Autofarm
Staking: Various protocol-specific farms
APY vs APR:
APR: Simple annual rate (no compounding)
APY: Effective annual rate (includes compounding)
APY = (1 + APR/n)^n - 1 (n = compounds per year)
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
Inputs: chain (required), protocol (required), poolAddress (required), includeRewards.
evm_get_balanceA
Get native token balance for any EVM chain (ETH, POL, AVAX, BNB, etc.)
Returns the native token balance in both raw wei and human-readable ether units. Works across all 7 supported EVM chains with automatic unit conversion.
CRITICAL RULES:
Address MUST be a valid 0x-prefixed Ethereum address (42 characters)
Balance is returned in both wei (raw) and ether (formatted) units
All chains use 18 decimals for native tokens
Returns 0 balance for non-existent addresses (not an error)
PARAMETERS:
chain: EVM chain to query (required)
Supported: ethereum, polygon, avalanche, bsc, arbitrum, base, worldchain
Each chain has different RPC endpoints
Must be lowercase
address: Ethereum address to check (required)
Format: 0x followed by 40 hexadecimal characters
Case-insensitive (checksummed addresses accepted)
Examples: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
EXAMPLES: ✅ Check Ethereum balance: {chain: "ethereum", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
✅ Check Polygon balance: {chain: "polygon", address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}
✅ Check BSC balance (low gas chain): {chain: "bsc", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
❌ Invalid - wrong chain name: {chain: "ethereum-sepolia", address: "0x..."}
❌ Invalid - missing 0x prefix: {chain: "ethereum", address: "742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
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 • chain: Chain name queried • address: Address checked • balance: Object with wei (string) and ether (string) values • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using mainnet chain names instead of testnet identifiers
Forgetting 0x prefix on address
Expecting USD value (this tool returns native token balance only)
Confusing wei with ether (1 ether = 10^18 wei)
USE CASES:
Check if address has sufficient funds for transactions
Monitor wallet balances across multiple chains
Validate address exists before sending transactions
Compare balances across different EVM networks
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
Inputs: chain (required), address (required).
evm_get_base_feeB
Get EIP-1559 base fee trends with historical analysis.
CRITICAL RULES:
Read-only operation
Base fee adjusts each block automatically
Cannot be controlled by users
Required for all EIP-1559 transactions
Rises with congestion, falls when empty
PARAMETERS:
chain: EVM chain (required)
blockCount: Blocks for trend (optional, default: 6)
EXAMPLES: ✅ Check current base fee: {chain: "ethereum"} ✅ Analyze 20 block trend: {chain: "polygon", blockCount: 20}
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: • currentBaseFee: Latest base fee (wei) • trend: Rising/falling/stable • average: Historical average • percentChange: Recent change percentage
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
Inputs: chain (required), blockCount.
evm_get_blockA
Get detailed block information including transactions, gas usage, miner, and timestamps.
Retrieves comprehensive block data from any EVM chain. Supports querying by block number, block hash, or special keywords like "latest", "earliest", "pending".
CRITICAL RULES:
Block numbers can be decimal (12345) or hex (0x3039)
Block hashes are 0x-prefixed 32-byte hex strings (66 characters)
"latest" returns most recent mined block
Returns transaction hashes by default (not full transaction objects)
PARAMETERS:
chain: EVM chain to query (required)
Block numbers are chain-specific
Different chains have different block times
blockNumberOrHash: Block identifier (required)
Block number: "12345" or "0x3039"
Block hash: "0x1234...abcd" (66 characters)
Keywords: "latest", "earliest", "pending"
EXAMPLES: ✅ Get latest block: {chain: "polygon", blockNumberOrHash: "latest"}
✅ Get specific block by number: {chain: "ethereum", blockNumberOrHash: "5000000"}
✅ Get block by hash: {chain: "arbitrum", blockNumberOrHash: "0xabcd1234..."}
❌ Invalid - wrong keyword: {chain: "polygon", blockNumberOrHash: "newest"}
❌ Invalid - negative block number: {chain: "bsc", blockNumberOrHash: "-1"}
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 • block: Object with block details
number: Block number
hash: Block hash
parentHash: Previous block hash
timestamp: Unix timestamp
miner/coinbase: Block producer address
gasUsed: Total gas used in block
gasLimit: Block gas limit
baseFeePerGas: EIP-1559 base fee (if applicable)
transactions: Array of transaction hashes
transactionCount: Number of transactions
difficulty: Mining difficulty (PoW chains) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Fetching blocks too fast (respect RPC rate limits)
Not handling reorgs (blocks can become orphaned)
Assuming "latest" is finalized (may be reorganized)
Comparing block timestamps across chains (different block times)
USE CASES:
Monitor blockchain state and height
Calculate average gas usage per block
Track block production times
Analyze transaction throughput
Detect block reorganizations
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
Inputs: chain (required), blockNumberOrHash (required).
evm_get_block_gas_limitA
Get block gas limit and usage analysis for congestion detection.
CRITICAL RULES:
Read-only operation
Gas limit varies by chain
High utilization = network congestion
Limit determines max transactions per block
PARAMETERS:
chain: EVM chain (required)
blockCount: Blocks to analyze (optional, default: 6)
EXAMPLES: ✅ Check Ethereum capacity: {chain: "ethereum"} ✅ Analyze 10 blocks: {chain: "polygon", blockCount: 10}
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: • currentLimit: Block gas limit • averageUsed: Average gas used • utilization: Capacity percentage • trend: Increasing/decreasing/stable
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
Inputs: chain (required), blockCount.
evm_get_block_numberC
Get the latest block number from the blockchain
Inputs: chain (required).
evm_get_bridge_statusA
Check status and phase of cross-chain bridge transaction with security verification.
Analyzes bridge transaction to determine current phase, confirmations, challenge period status, and security checks. Essential for monitoring bridge operations and understanding withdrawal delays.
CRITICAL RULES:
Read-only operation (no gas cost)
Requires transaction to be bridge-related
L2→L1 withdrawals have 7-day challenge period
Different bridge types have different events
Must check both source and destination chains
Security checks verify merkle proofs and state roots
PARAMETERS:
chain: Source chain where bridge transaction occurred (required)
Must be chain where transaction was initiated
Examples: Arbitrum→Ethereum use 'arbitrum', Polygon→Ethereum use 'polygon'
transactionHash: Bridge transaction hash to check (required)
Format: 0x followed by 64 hex characters
Must be valid bridge transaction
Examples: deposit, withdrawal initiation, message bridge
bridgeType: Type of bridge protocol (optional)
'native': Chain's native bridge (most secure)
'canonical': Official bridge from chain team
'third-party': External bridge protocols
Default: 'canonical'
Affects which events to look for
EXAMPLES: ✅ Check Arbitrum→Ethereum withdrawal status: {chain: "arbitrum", transactionHash: "0x1234...abcd", bridgeType: "canonical"}
✅ Monitor Polygon→Ethereum deposit: {chain: "polygon", transactionHash: "0xabcd...1234"}
✅ Check third-party bridge (Hop/Stargate): {chain: "base", transactionHash: "0x9876...fedc", bridgeType: "third-party"}
❌ Invalid - wrong chain (tx was on Arbitrum, not Ethereum): {chain: "ethereum", transactionHash: "0xArbitrumTx..."}
❌ Invalid - not a bridge transaction: {chain: "arbitrum", transactionHash: "0xRegularSwapTx..."}
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: • status: Current bridge phase (initiated, confirmed, finalized, completed) • phase: Detailed phase breakdown with progress percentage • confirmations: Number of confirmations received • challengePeriod: Challenge period status (L2→L1 only) • securityChecks: Array of security verification results • estimatedTime: Remaining time to completion • monitoringUrls: Block explorer links for both chains • warnings: Any issues or delays detected • executionTime: Time taken in milliseconds
BRIDGE PHASES:
Initiated: Transaction submitted on source chain
Confirmed: Source chain transaction confirmed
Finalized: Bridge message finalized on source
Executed: Message executed on destination chain
Completed: Final state confirmed on both chains
SECURITY CHECKS:
Merkle proof verification
State root validation
Challenge period monitoring
Validator signature checks
Bridge contract integrity
CHALLENGE PERIODS:
L2→L1 withdrawals: 7 days (can be challenged)
L1→L2 deposits: Usually immediate
Sidechain bridges: Vary by protocol
MONITORING:
Track progress on both source and destination
Use block explorers for visual confirmation
Set up alerts for completion
Monitor for stuck transactions
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
Inputs: chain (required), transactionHash (required), bridgeType.
evm_get_chain_idB
Get the chain ID for the specified blockchain
Inputs: chain (required).
evm_get_chain_infoA
Get comprehensive information about supported EVM chains including network status and configuration.
Returns detailed chain specifications, RPC endpoints, explorers, current block height, gas prices, and connection status. Use "all" to get comparative overview of all 7 chains.
CRITICAL RULES:
Returns current live data (block number, gas price) if chain is connected
"all" option provides quick comparison across all chains
Testnet chain IDs are different from mainnet (don't confuse them)
RPC URLs are configurable via environment variables
PARAMETERS:
chain: Chain identifier or "all" (required)
Supported chains: ethereum, polygon, avalanche, bsc, arbitrum, base, worldchain
Special value "all" returns info for all chains
Must be lowercase
EXAMPLES: ✅ Get single chain info: {chain: "polygon"}
✅ Compare all chains: {chain: "all"}
✅ Check Ethereum Sepolia config: {chain: "ethereum"}
❌ Invalid - wrong chain name: {chain: "eth"}
❌ Invalid - mainnet name: {chain: "ethereum-mainnet"}
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 • chain(s): Chain identifier(s) • name: Full chain name • chainId: Numeric chain ID • nativeToken: Native token symbol (ETH, POL, etc.) • rpcUrl: RPC endpoint URL • explorer: Block explorer base URL • testnet: Boolean (always true for this server) • connected: Boolean connection status • currentBlock: Latest block number (if connected) • gasPrice: Current gas price in gwei (if connected) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using mainnet chain names expecting testnet data
Not checking "connected" field before trusting block data
Assuming all chains have same gas costs (they vary dramatically)
Hardcoding chain IDs without consulting this tool
USE CASES:
Discover available chains and their configurations
Compare gas prices across chains before choosing where to deploy
Verify RPC connection status before batch operations
Get block explorer URLs for transaction links
Check chain IDs for wallet configuration
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
Inputs: chain (required).
evm_get_codeC
Get the bytecode of a smart contract at a given address
Inputs: chain (required), address (required), blockTag.
evm_get_contract_abiA
Get contract ABI from block explorer API or provide guidance on manual retrieval (placeholder implementation).
Attempts to fetch contract ABI automatically from block explorer. For verified contracts, returns full ABI including all functions, events, and data structures. Currently provides guidance for manual retrieval.
CRITICAL RULES:
Only works for verified contracts on block explorer
Unverified contracts don't expose ABI publicly
Some explorers require API keys for programmatic access
Manual retrieval often more reliable than API
ABI is critical for all contract interactions
This is PLACEHOLDER - may return retrieval guidance instead of ABI
PARAMETERS:
chain: EVM chain where contract is deployed (required)
Each chain has different block explorer
API access varies by explorer
contractAddress: Smart contract address (required)
Format: 0x followed by 40 hex characters
Contract must be verified on block explorer
Examples: DEX routers, token contracts, NFT collections
EXAMPLES: ✅ Get ABI for verified USDC on Polygon: {chain: "polygon", contractAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"}
✅ Get ABI for Uniswap Router on Ethereum: {chain: "ethereum", contractAddress: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D"}
✅ Get ABI for verified custom contract (BSC): {chain: "bsc", contractAddress: "0xCustomContract..."}
❌ Invalid - unverified contract: {contractAddress: "0xUnverified..."} // ABI not available
❌ Invalid - wrong chain: {chain: "polygon", contractAddress: "0xEthereumOnly..."} // Contract not on Polygon
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 retrieval success • chain: Chain queried • contractAddress: Contract address • abi: Contract ABI (JSON array) if available • verified: Boolean indicating if contract is verified • retrievalMethod: How ABI was obtained (api/manual) • blockExplorerUrl: URL to view contract on explorer • manualInstructions: Steps for manual ABI retrieval • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Trying to get ABI for unverified contracts
Using wrong block explorer for chain
Not having API key for explorer (if required)
Confusing contract address with implementation address (proxies)
USE CASES:
Get ABI before calling contract functions
Explore contract interface and capabilities
Verify contract functionality matches documentation
Decode transaction data
Build UI for contract interaction
BLOCK EXPLORERS BY CHAIN:
Ethereum Sepolia: sepolia.etherscan.io
Polygon Amoy: amoy.polygonscan.com
Avalanche Fuji: testnet.snowtrace.io
BSC Testnet: testnet.bscscan.com
Arbitrum Sepolia: sepolia.arbiscan.io
Base Sepolia: sepolia.basescan.org
World Chain: worldchain.explorer.io
MANUAL ABI RETRIEVAL STEPS:
Go to block explorer for your chain
Enter contract address in search bar
Navigate to "Contract" tab
Look for "Contract ABI" section (verified contracts only)
Copy ABI JSON array
Use in evm_call_contract or evm_send_contract_transaction
VERIFICATION STATUS: Verified contracts show:
✅ Green checkmark on explorer
Source code tab available
Contract ABI visible
Compiler settings shown
Contract name displayed
Unverified contracts show:
❌ No verification badge
Only bytecode visible
No ABI available
Must get ABI from project docs
PROXY CONTRACTS: For proxy patterns (common in upgradeable contracts):
Get ABI from implementation contract, not proxy
Proxy address for transactions
Implementation ABI for function calls
Explorer often detects and shows both
ALTERNATIVE ABI SOURCES:
Project GitHub repository
Project documentation
npm packages (@uniswap/v2-core)
Etherscan "Read/Write Contract" tab
Contract deployment transaction logs
COMMON CONTRACT ABIS: Standard interfaces often available in libraries:
ERC20: @openzeppelin/contracts
ERC721: @openzeppelin/contracts
ERC1155: @openzeppelin/contracts
Uniswap V2: @uniswap/v2-core
Uniswap V3: @uniswap/v3-core
API KEY REQUIREMENTS: Some explorers require API keys:
Etherscan: Free tier available
PolygonScan: Free tier available
BSCScan: Free tier available
Others: Check explorer docs
PLACEHOLDER NOTE: This tool currently provides guidance for manual retrieval. Full API integration coming in future updates. For now, use manual retrieval from block explorer.
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
Inputs: chain (required), contractAddress (required).
evm_get_dex_quoteA
Get estimated swap output amount from DEX without executing the transaction.
Queries DEX router contract to calculate how many output tokens you'd receive for input amount. Essential for price discovery, slippage calculation, and comparing rates across DEXs. No gas cost.
CRITICAL RULES:
Read-only operation, no transaction executed
Actual swap may differ due to price movement (use slippage protection)
Quote valid only at current block (check immediately before swap)
Accounts for DEX fees (typically 0.3%)
Path finding automatic for direct pairs
PARAMETERS:
chain: EVM chain where DEX operates (required)
Each chain has different DEX deployments
Popular: Uniswap (Ethereum), QuickSwap (Polygon), PancakeSwap (BSC)
dex: DEX protocol name (required)
Supported: "uniswap", "quickswap", "traderjoe", "pancakeswap", "sushiswap"
Protocol must be deployed on selected chain
Case-insensitive
tokenIn: Input token contract address (required)
Token you're selling/swapping from
Format: 0x followed by 40 hex characters
Must have liquidity with tokenOut
tokenOut: Output token contract address (required)
Token you're buying/swapping to
Format: 0x followed by 40 hex characters
Must have liquidity with tokenIn
amountIn: Input token amount (required)
Human-readable format: "1.0" = 1 token
Automatically converted using token decimals
Examples: "1.0", "100", "0.5"
EXAMPLES: ✅ Get quote for swapping 100 USDC to WETH on Polygon QuickSwap: {chain: "polygon", dex: "quickswap", tokenIn: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", tokenOut: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", amountIn: "100"}
✅ Check 1 ETH to USDC rate on Ethereum Uniswap: {chain: "ethereum", dex: "uniswap", tokenIn: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", tokenOut: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", amountIn: "1.0"}
✅ BSC PancakeSwap BNB to BUSD quote: {chain: "bsc", dex: "pancakeswap", tokenIn: "0xWBNB...", tokenOut: "0xBUSD...", amountIn: "0.5"}
❌ Invalid - DEX not on chain: {chain: "polygon", dex: "pancakeswap"} // PancakeSwap is BSC-only
❌ Invalid - no liquidity pair: {tokenIn: "0xToken1", tokenOut: "0xUnknownToken"} // Pair doesn't exist
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 quote success • chain: Chain queried • dex: DEX protocol • tokenIn: Input token address • tokenOut: Output token address • amountIn: Input amount (formatted) • amountOut: Expected output amount (formatted) • priceImpact: Percentage price impact of swap • route: Token path (direct or multi-hop) • fee: DEX fee percentage (usually 0.3%) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not checking quote before every swap (price changes)
Assuming quote equals actual output (use slippage tolerance)
Using wrong DEX for chain
Not accounting for price impact on large swaps
Forgetting DEX fees reduce output
USE CASES:
Check swap rates before executing
Compare prices across multiple DEXs
Calculate slippage tolerance needed
Monitor token prices
Build arbitrage bots
PRICE IMPACT: Large swaps affect price:
Small trades (<1% of liquidity): Low impact
Medium trades (1-5%): Moderate impact
Large trades (>5%): High impact, consider splitting
Impact shown in quote output
SLIPPAGE CALCULATION: Use quote to set slippage:
Get quote output amount
Decide acceptable slippage (0.5%, 1%, 5%)
Calculate minimum output: quote * (1 - slippage/100)
Use in evm_execute_swap
DEX FEES: Standard DEX fees:
Uniswap V2: 0.3%
Uniswap V3: 0.05%, 0.3%, or 1% (tier-based)
PancakeSwap: 0.25%
QuickSwap: 0.3%
Fees deducted from output
MULTI-HOP ROUTING: If no direct pair exists:
DEX finds optimal path through intermediate tokens
Example: TokenA → WETH → TokenB
More hops = more fees
Route shown in output
DEX BY CHAIN:
Ethereum: Uniswap, SushiSwap
Polygon: QuickSwap, SushiSwap, Uniswap V3
BSC: PancakeSwap, BiSwap
Arbitrum: Uniswap V3, Camelot, SushiSwap
Avalanche: Trader Joe, Pangolin
Base: Uniswap V3, BaseSwap
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
Inputs: dex (required), chain (required), tokenIn (required), amountIn (required), +1 more.
evm_get_farming_rewardsB
Get farming/staking rewards for user (PLACEHOLDER - limited implementation).
Queries farm contracts for pending rewards. Useful for reward tracking before claiming.
PARAMETERS:
chain, address: Required
farmContract: Optional
EXAMPLES: ✅ {chain: "polygon", address: "0x742d35..."}
NOTE: Placeholder - implementation depends on farm contract standards.
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.
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
Inputs: chain (required), address (required), farmContract.
evm_get_fee_historyC
Get historical gas fee data for EIP-1559 chains
Inputs: chain (required), blockCount, newestBlock, rewardPercentiles.
evm_get_gas_analyticsB
Analyze gas usage: historical costs, trends, efficiency metrics.
CRITICAL RULES:
Read-only operation
Default: 30 day analysis
Includes cost optimization suggestions
Varies significantly by chain
PARAMETERS:
chain: EVM chain (required)
address: Account to analyze (required)
days: Analysis period (optional, default: 30)
EXAMPLES: ✅ Gas spending analysis: {chain: "ethereum", address: "0x742d35Cc..."} ✅ Weekly review: {chain: "polygon", address: "0x742d35Cc...", days: 7}
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: • totalGasUsed: Total gas consumed • totalCost: Native token spent • averageGasPrice: Mean price paid • efficiency: Optimization score
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
Inputs: chain (required), address (required), days.
evm_get_gas_oracleA
Get gas price recommendations with slow/standard/fast tiers for optimal transaction timing.
Provides three gas price options based on network conditions. Slow for low-priority transactions, standard for typical operations, fast for urgent transactions. Uses EIP-1559 base + priority fee structure.
CRITICAL RULES:
Read-only operation (no gas cost)
Prices change every block
Fast tier pays significant premium
Slow tier may delay confirmation
Base fee determined by network, not user
Priority fee tips validators
PARAMETERS:
chain: EVM chain to query (required)
Gas prices vary dramatically by chain
Ethereum: High gas (10-100+ gwei)
Polygon: Low gas (30-50 gwei)
Arbitrum: Very low gas (<1 gwei)
EXAMPLES: ✅ Get Ethereum gas tiers for transaction: {chain: "ethereum"}
✅ Check Polygon gas for batch operation: {chain: "polygon"}
✅ Find cheap gas window on BSC: {chain: "bsc"}
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: • slow: {baseFee, priorityFee, total, estimatedTime} • standard: {baseFee, priorityFee, total, estimatedTime} • fast: {baseFee, priorityFee, total, estimatedTime} • timestamp: When prices were fetched
COMMON MISTAKES:
Using fast tier for non-urgent transactions (overpaying)
Using slow tier for time-sensitive operations
Not refreshing prices before submission
Ignoring base fee (it's required, not optional)
Comparing prices across different chains
USE CASES:
Choose gas tier based on urgency
Display price options to users
Optimize transaction costs
Schedule transactions for low gas periods
Calculate total transaction cost estimates
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
Inputs: chain (required).
evm_get_gas_priceB
Get current gas price for optimal transaction pricing on any EVM chain.
Returns current gas pricing information in both legacy format (gasPrice) and EIP-1559 format (baseFeePerGas + maxPriorityFeePerGas) depending on chain support.
CRITICAL RULES:
EIP-1559 chains return base fee + priority fee structure
Legacy chains return single gasPrice value
Gas prices fluctuate constantly (poll frequently for accuracy)
Higher gas price = faster confirmation (competitive fee market)
Gas price returned in wei (divide by 1e9 for gwei)
PARAMETERS:
chain: EVM chain to query gas prices (required)
Each chain has different gas price ranges
Ethereum: typically highest gas costs
L2s (Arbitrum, Base): 10-50x cheaper
Sidechains (Polygon, BSC): very low gas costs
EXAMPLES: ✅ Check Ethereum gas price: {chain: "ethereum"}
✅ Compare Polygon fees: {chain: "polygon"}
✅ Get BSC gas price: {chain: "bsc"}
❌ Invalid - typo in chain name: {chain: "etherum"}
❌ Invalid - mainnet name: {chain: "ethereum-mainnet"}
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 (EIP-1559 chains): • success: Boolean indicating operation success • chain: Queried chain identifier • eip1559: Boolean indicating EIP-1559 support • baseFeePerGas: Base fee in wei (burned) • maxPriorityFeePerGas: Suggested tip in wei (to validators) • maxFeePerGas: Maximum total fee willing to pay • gasPrice: Legacy format (baseFee + priorityFee) for compatibility • gasPriceGwei: Human-readable gas price in gwei • executionTime: Time taken in milliseconds
OUTPUT STRUCTURE (Legacy chains): • success: Boolean indicating operation success • chain: Queried chain identifier • eip1559: false • gasPrice: Current gas price in wei • gasPriceGwei: Human-readable gas price in gwei • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using stale gas prices (should poll before each transaction)
Not converting wei to gwei for display
Assuming same gas costs across all chains
Setting gas price too low (transaction may not confirm)
Forgetting gas price spikes during network congestion
USE CASES:
Determine optimal transaction timing
Calculate transaction cost estimates
Monitor network congestion via gas prices
Compare chain costs for multi-chain applications
Set appropriate gas limits for transactions
GAS PRICE STRATEGIES:
Standard: Use returned maxFeePerGas (normal confirmation)
Fast: Multiply maxPriorityFeePerGas by 1.2-1.5 (faster confirmation)
Slow: Use minimum maxPriorityFeePerGas (slower but cheaper)
Instant: Multiply maxPriorityFeePerGas by 2+ (next block)
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
Inputs: chain (required).
evm_get_impermanent_lossA
Calculate impermanent loss for liquidity providers.
Compares current LP position value vs holding assets separately. Essential for LP risk management.
PARAMETERS:
chain: Target EVM chain
token0: { symbol, initialPrice, currentPrice, amount }
token1: { symbol, initialPrice, currentPrice, amount }
poolAddress: Pool address for live data (optional)
includeFeesEarned: Include estimated fees in calculation (optional)
feeRate: Pool fee rate as percent (e.g., 0.3 for 0.3%) (optional)
CALCULATION: • Compares LP value vs holding tokens • Accounts for price divergence • Includes fee earnings offset • Shows IL percentage
Returns IL amount, percentage, fee earnings, and net position.
Inputs: chain (required), token0 (required), token1 (required), feeRate, +2 more.
evm_get_logsC
Query event logs from the blockchain with filtering
Inputs: chain (required), topics, address, toBlock, +1 more.
evm_get_mempool_infoB
Monitor pending transactions in the mempool for MEV opportunities
Scans mempool for pending transactions with filtering and MEV detection. Identifies arbitrage opportunities, sandwich targets, and large transactions.
FEATURES:
Real-time pending transaction monitoring
Filter by value, sender, recipient, gas price
MEV opportunity detection
Transaction statistics and analysis
PARAMETERS:
chain: Target chain
filter: Optional filters (minValue, to, from, minGasPrice)
limit: Max transactions to return (default 100)
includeDetails: Include full transaction data
Returns pending transactions, statistics, and MEV opportunities.
Inputs: chain (required), limit, filter, includeDetails.
evm_get_network_infoA
Get comprehensive network health metrics including block info, gas prices, and utilization.
Aggregates real-time network data: latest block number, timestamp, gas prices (EIP-1559 breakdown), and network congestion level. Essential for timing transactions and monitoring chain health.
CRITICAL RULES:
Read-only operation (no gas cost)
Data is current but may be 1-2 blocks behind
Gas prices fluctuate rapidly
Base fee adjusts every block (EIP-1559)
Different chains have different block times
PARAMETERS:
chain: EVM chain to query (required)
Each chain has unique characteristics
Block times vary: Ethereum ~12s, Polygon ~2s, Arbitrum ~0.25s
EXAMPLES: ✅ Check Ethereum network status: {chain: "ethereum"}
✅ Monitor Polygon for low-gas window: {chain: "polygon"}
✅ Verify Arbitrum is syncing: {chain: "arbitrum"}
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: • latestBlock: Current block number • timestamp: Block timestamp (Unix) • gasPrice: Current gas price (wei) • baseFee: EIP-1559 base fee (wei) • priorityFee: Suggested priority fee (wei) • utilization: Network congestion (0-100%) • chainId: Network chain ID
COMMON MISTAKES:
Not accounting for block time differences across chains
Assuming gas prices are stable (they change constantly)
Ignoring utilization when timing transactions
Using outdated data for transaction submission
USE CASES:
Time transactions for low gas periods
Monitor network congestion before operations
Verify chain is syncing properly
Display network health in UI
Calculate optimal gas prices
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
Inputs: chain (required).
evm_get_nft_approvedC
Get the approved address for a specific NFT token ID
Inputs: chain (required), tokenId (required), contractAddress (required).
evm_get_nft_balanceA
Get total count of NFTs owned in a specific ERC721 collection.
Queries balanceOf function on NFT contract. Returns total count of tokens owned in collection. Does not return individual token IDs - use with tokenOfOwnerByIndex for enumeration.
CRITICAL RULES:
Returns count only, not token IDs
Read-only operation (no gas cost)
Result is 0 if address owns no NFTs
Some contracts don't support enumeration
Balance updated after transfers/mints
PARAMETERS:
chain: EVM chain to query (required)
Must support ERC721 standard
contractAddress: NFT collection address (required)
Must be valid ERC721 contract
Format: "0x..." (42 characters)
address: Wallet address to check (required)
Any valid Ethereum address
Format: "0x..." (42 characters)
EXAMPLES: ✅ Check collector's NFT balance: {chain: "polygon", contractAddress: "0x7227E4D7...", address: "0x742d35Cc..."}
✅ Verify ownership (balance > 0): {chain: "ethereum", contractAddress: "0xBC4CA0E...", address: "0x8626f6940..."}
❌ Invalid - malformed address: {chain: "polygon", contractAddress: "0x7227E4D7...", address: "0xinvalid"}
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: • balance: NFT count in collection • collection: Contract address • owner: Queried address
COMMON MISTAKES:
Expecting token IDs instead of count
Not checking if balance is 0
Assuming enumeration support (not all ERC721)
Confusing with ERC20 balance (different scale)
USE CASES:
Verify NFT ownership in collection
Check eligibility for holder benefits
Display collection size in wallet UI
Validate ownership before operations
Track collector portfolio size
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
Inputs: chain (required), address (required), contractAddress (required).
evm_get_nft_infoC
Get comprehensive information about an NFT including name, symbol, and token URI
Inputs: chain (required), tokenId (required), contractAddress (required).
evm_get_nft_metadataA
Get complete NFT metadata including owner, tokenURI, and collection details.
Queries ERC721 contract for NFT ownership and metadata URI. Fetches JSON metadata from URI if available. Supports IPFS, HTTP, and on-chain metadata formats.
CRITICAL RULES:
tokenId must exist (already minted)
Read-only operation (no gas cost)
tokenURI may be empty for some NFTs
Metadata JSON format varies by collection
IPFS URIs may require gateway resolution
PARAMETERS:
chain: EVM chain to query (required)
Must support ERC721 standard
contractAddress: NFT collection address (required)
Must be valid ERC721 contract
Format: "0x..." (42 characters)
tokenId: Token ID to query (required)
Must be minted token
Format: string (not number for large IDs)
EXAMPLES: ✅ Get metadata for token #123: {chain: "polygon", contractAddress: "0x7227E4D7...", tokenId: "123"}
✅ Query rare NFT with large ID: {chain: "ethereum", contractAddress: "0xBC4CA0E...", tokenId: "8762"}
❌ Invalid - non-existent token: {chain: "polygon", contractAddress: "0x7227E4D7...", tokenId: "999999999"}
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: • owner: Current owner address • tokenURI: Metadata URI (IPFS, HTTP, or base64) • metadata: Parsed JSON if available (name, description, image, attributes) • collectionInfo: Contract name, symbol
COMMON MISTAKES:
Using number type for tokenId (breaks for IDs > 2^53)
Assuming all NFTs have metadata URIs
Not handling IPFS gateway failures
Expecting consistent metadata format across collections
USE CASES:
Verify NFT ownership before operations
Display NFT details in marketplace UI
Validate metadata before purchasing
Audit collection traits and rarity
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
Inputs: chain (required), tokenId (required), contractAddress (required).
evm_get_nft_ownerB
Get current owner address of specific ERC721 token.
Queries ownerOf function on NFT contract. Returns current owner's address. Fails if token doesn't exist or hasn't been minted. Read-only operation with no gas cost.
CRITICAL RULES:
Token must be minted
Read-only operation (no gas cost)
Returns current owner only
Ownership changes after transfers
Reverts if token doesn't exist
PARAMETERS:
chain: EVM chain to query (required)
Must support ERC721 standard
contractAddress: NFT collection address (required)
Must be valid ERC721 contract
Format: "0x..." (42 characters)
tokenId: Token ID to query (required)
Must be minted token
Format: string (not number for large IDs)
EXAMPLES: ✅ Check owner of NFT #123: {chain: "polygon", contractAddress: "0x7227E4D7...", tokenId: "123"}
✅ Verify ownership of rare token: {chain: "ethereum", contractAddress: "0xBC4CA0E...", tokenId: "8762"}
❌ Invalid - non-existent token: {chain: "polygon", contractAddress: "0x7227E4D7...", tokenId: "999999999"}
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: • owner: Current owner address • tokenId: Queried token ID • collection: Contract address
COMMON MISTAKES:
Querying unminted tokens
Not handling revert for non-existent IDs
Caching owner without checking for transfers
Assuming token exists in collection
USE CASES:
Verify ownership before operations
Display current holder in marketplace
Validate ownership claims
Track NFT provenance
Check if address owns specific token
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
Inputs: chain (required), tokenId (required), contractAddress (required).
evm_get_nfts_by_ownerA
Get all NFT token IDs owned by specific owner address in a collection. Parameter: owner (not address). Requires ERC721Enumerable.
Inputs: chain (required), owner (required), contractAddress (required), limit.
evm_get_pool_infoA
Get liquidity pool information including reserves, price, and LP token details.
Queries DEX pair contract for current pool state. Shows token reserves, exchange rate, total liquidity, and LP token address. Essential before adding/removing liquidity or analyzing pool health. No gas cost.
CRITICAL RULES:
Read-only operation, no transaction
Pool must exist (tokens must have been paired)
Reserves change with every swap
Price calculated from reserve ratio
LP token represents share of pool
PARAMETERS:
chain: EVM chain where pool exists (required)
dex: DEX protocol name (required)
tokenA: First token in pair (required)
tokenB: Second token in pair (required)
EXAMPLES: ✅ Get USDC/WETH pool on Polygon QuickSwap: {chain: "polygon", dex: "quickswap", tokenA: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", tokenB: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"}
OUTPUT: • reserveA, reserveB: Token amounts in pool • priceAtoB, priceBtoA: Exchange rates • lpTokenAddress: LP token contract • totalSupply: Total LP tokens • share: Your pool ownership percentage
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.
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
Inputs: dex (required), chain (required), tokenA (required), tokenB (required).
evm_get_portfolio_valueA
Calculate total portfolio value: native balance + ERC-20 tokens.
CRITICAL RULES:
Read-only operation
Requires price data for USD values
Native token always included
Optional token list for focus
PARAMETERS:
chain: EVM chain (required)
address: Wallet address (required)
tokenAddresses: Specific tokens (optional)
EXAMPLES: ✅ Total portfolio: {chain: "ethereum", address: "0x742d35Cc..."} ✅ Specific tokens: {chain: "polygon", address: "0x742d35Cc...", tokenAddresses: ["0xToken1...", "0xToken2..."]}
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: • totalValue: Portfolio value (USD) • nativeBalance: Native token amount • tokenBalances: ERC-20 holdings • prices: Current token prices
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
Inputs: chain (required), address (required), tokenAddresses.
evm_get_price_feedB
Get real-time price data from Chainlink oracles
Fetch accurate price feeds for tokens and trading pairs. Includes price history and staleness checks.
AVAILABLE FEEDS:
Major pairs: ETH/USD, BTC/USD, LINK/USD
Stablecoins: USDC/USD, DAI/USD, USDT/USD
DeFi tokens: AAVE/USD, UNI/USD, CAKE/USD
Native tokens: POL/USD, AVAX/USD, BNB/USD
PARAMETERS:
chain: Target blockchain
pair: Price pair (e.g., ETH/USD)
customFeed: Custom price feed address (optional)
includeHistory: Include recent price history
roundId: Specific round for historical data (optional)
Returns latest price, statistics, history, and data freshness.
Inputs: pair (required), chain (required), roundId, customFeed, +1 more.
evm_get_priority_feeB
Get EIP-1559 priority fee recommendations with percentile-based tiers.
CRITICAL RULES:
Read-only operation
Priority fee tips validators/miners
Optional but speeds confirmation
Higher percentile = faster inclusion
Zero priority fee possible but slow
PARAMETERS:
chain: EVM chain (required)
percentile: Fee tier (optional)
25 = slow (budget)
50 = standard (default)
75 = fast
95 = instant
EXAMPLES: ✅ Get standard priority: {chain: "ethereum"} ✅ Get fast confirmation: {chain: "polygon", percentile: 75}
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: • priorityFee: Recommended fee (wei) • percentile: Selected tier • estimatedTime: Confirmation time • recentFees: Historical data
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
Inputs: chain (required), percentile.
evm_get_staking_rewardsB
Query staking rewards from staking contracts.
Fetches pending and claimed rewards from staking/farming contracts. Universal across staking protocols.
PARAMETERS:
chain: Target EVM chain
address: Address to check staking rewards for
protocol: Staking protocol (optional)
includeHistory: Include historical rewards data (optional)
REWARDS INFO: • Pending unclaimed rewards • Total claimed rewards • Reward rate per block/second • Time until next reward • APY calculation
Returns pending rewards, claimed total, and reward schedule.
Inputs: chain (required), address (required), protocol, includeHistory.
evm_get_storage_atC
Get the value from a contract storage slot
Inputs: chain (required), address (required), position (required), blockTag.
evm_get_token_allowanceA
Check ERC20 token spending allowance currently granted from owner to spender.
Returns the amount of tokens a spender is currently allowed to transfer on behalf of the owner. Used to verify approvals before DeFi operations and check if re-approval is needed.
CRITICAL RULES:
Returns current allowance amount (may be 0 if not approved)
Allowance decreases as spender uses it (check before each operation)
Allowance of 0 means no approval exists
Very large number (2^256-1) indicates unlimited approval
Read-only operation, no gas cost
PARAMETERS:
chain: EVM chain to query (required)
Allowances are chain-specific
Same owner/spender may have different allowances per chain
tokenAddress: ERC20 token contract address (required)
Format: 0x followed by 40 hex characters
Allowances are per-token
Examples: USDC, USDT, DAI, WETH
ownerAddress: Token owner address (required)
Address that granted the approval
Format: 0x followed by 40 hex characters
Must be address holding the tokens
spenderAddress: Spender address (required)
Address that can spend the tokens
Typically a smart contract (DEX, lending pool)
Format: 0x followed by 40 hex characters
EXAMPLES: ✅ Check USDC allowance for Uniswap on Polygon: {chain: "polygon", tokenAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", ownerAddress: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", spenderAddress: "0xE592427A0AEce92De3Edee1F18E0157C05861564"}
✅ Check allowance before DEX swap: {chain: "arbitrum", tokenAddress: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", ownerAddress: "0x...", spenderAddress: "0xRouterAddress"}
✅ Verify approval was successful: {chain: "bsc", tokenAddress: "0x...", ownerAddress: "0x...", spenderAddress: "0x..."}
❌ Invalid - swapped owner and spender: {ownerAddress: "0xContractAddress", spenderAddress: "0xUserWallet"} // Backwards
❌ Invalid - wrong chain: {chain: "ethereum", tokenAddress: "0xPolygonUSDC..."} // Token not on Ethereum
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 query success • chain: Chain queried • tokenAddress: Token contract checked • ownerAddress: Token owner • spenderAddress: Approved spender • allowance: Object with raw (string) and formatted (string) values • decimals: Token decimals used for formatting • isUnlimited: Boolean indicating if allowance is max uint256 • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Confusing owner and spender parameters (easy to swap)
Not checking allowance before assuming approval exists
Forgetting allowance decreases as it's spent
Not accounting for decimals when interpreting raw value
Assuming non-zero allowance means sufficient for operation
USE CASES:
Check if approval needed before DEX swap
Verify approval transaction succeeded
Monitor remaining allowance after partial usage
Audit approved spenders for security
Determine if re-approval required
ALLOWANCE LIFECYCLE:
Initially 0 (no approval)
Increased by evm_approve_token
Decreased as spender transfers tokens
Can be set back to 0 (revoke approval)
Can be increased again (re-approve)
INTERPRETATION:
allowance = 0: No approval, must call evm_approve_token
allowance < needed: Insufficient, need to approve more
allowance ≥ needed: Sufficient, can proceed with operation
allowance = 2^256-1: Unlimited approval (never decreases)
SECURITY AUDITING: Check all your token allowances periodically:
Query allowance for each token you hold
Identify unknown or unused spender contracts
Revoke suspicious or old approvals (approve amount "0")
BEFORE DEX SWAP: Always check allowance before attempting swap:
Check allowance (this tool)
If insufficient, approve tokens (evm_approve_token)
Execute swap (evm_execute_swap)
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
Inputs: chain (required), ownerAddress (required), tokenAddress (required), spenderAddress (required).
evm_get_token_balanceA
Get ERC20 token balance for any wallet address on any supported EVM chain.
Returns the token balance in both raw units and human-readable format accounting for token decimals. Works with any ERC20-compliant token contract across all 7 supported EVM chains.
CRITICAL RULES:
Token address MUST be a valid ERC20 contract (has decimals(), balanceOf())
Returns 0 balance for addresses that never held the token (not an error)
Decimals are fetched automatically from token contract (typically 6 or 18)
Balance units depend on token decimals (USDC=6, most tokens=18)
Does NOT work with native tokens (use evm_get_balance for ETH/POL/etc)
PARAMETERS:
chain: EVM chain where token is deployed (required)
Token contracts are chain-specific
Same token may have different addresses per chain
Example: USDC on Polygon vs USDC on Ethereum
tokenAddress: ERC20 token contract address (required)
Format: 0x followed by 40 hex characters
Must be deployed contract with ERC20 interface
Examples: USDC, USDT, DAI, WETH, custom tokens
walletAddress: Address to check balance for (required)
Any valid Ethereum address
Can be EOA (user wallet) or contract address
Format: 0x followed by 40 hex characters
EXAMPLES: ✅ Check USDC balance on Polygon: {chain: "polygon", tokenAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", walletAddress: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
✅ Check custom token on BSC: {chain: "bsc", tokenAddress: "0x...", walletAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}
✅ Check WETH balance on Arbitrum: {chain: "arbitrum", tokenAddress: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", walletAddress: "0x..."}
❌ Invalid - trying to check native ETH (use evm_get_balance): {chain: "ethereum", tokenAddress: "0x0000000000000000000000000000000000000000", walletAddress: "0x..."}
❌ Invalid - wrong chain (token not deployed there): {chain: "avalanche", tokenAddress: "0x2791Bca...POLYGON_USDC", walletAddress: "0x..."}
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 query success • chain: Chain queried • tokenAddress: Token contract address • walletAddress: Wallet checked • balance: Object with raw (string) and formatted (string) values • decimals: Number of decimals the token uses • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using native token address (use evm_get_balance for ETH/POL/AVAX)
Using token address from wrong chain (USDC Polygon ≠ USDC Ethereum)
Not accounting for decimals when interpreting raw balance
Expecting USD value (this returns token units, not dollar value)
Forgetting tokens are chain-specific (must deploy/bridge to each chain)
USE CASES:
Check token holdings before initiating transfers
Verify token receipt after purchase or swap
Monitor token balances across multiple chains
Validate sufficient token balance for DeFi operations
Build portfolio tracking dashboards
TOKEN DECIMALS REFERENCE:
Most tokens: 18 decimals (same as ETH)
Stablecoins (USDC, USDT): 6 decimals
Bitcoin-pegged (WBTC): 8 decimals
Custom tokens: varies (fetched automatically)
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
Inputs: chain (required), tokenAddress (required), walletAddress (required).
evm_get_token_decimalsB
Get the number of decimals for an ERC-20 token
Inputs: chain (required), tokenAddress (required).
evm_get_token_holdings_summaryB
Summary of token holdings: native + ERC-20 tokens with diversity metrics.
CRITICAL RULES:
Read-only operation
Native balance always included
Zero balances excluded by default
Portfolio diversity calculated
PARAMETERS:
chain: EVM chain (required)
address: Wallet address (required)
tokenAddresses: Specific tokens (optional)
includeZeroBalances: Show zero balances (optional, default: false)
EXAMPLES: ✅ All holdings: {chain: "ethereum", address: "0x742d35Cc..."} ✅ Specific tokens: {chain: "polygon", address: "0x742d35Cc...", tokenAddresses: ["0xToken1...", "0xToken2..."]} ✅ Include zeros: {chain: "bsc", address: "0x742d35Cc...", includeZeroBalances: true}
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: • nativeBalance: Native token amount • tokenBalances: ERC-20 holdings array • diversityScore: Portfolio diversity metric • totalTokens: Number of unique tokens
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
Inputs: chain (required), address (required), tokenAddresses, includeZeroBalances.
evm_get_token_infoA
Get comprehensive ERC20 token metadata and information from any EVM chain.
Fetches name, symbol, decimals, and total supply directly from the token contract's public methods. Essential for understanding token properties before interacting with it.
CRITICAL RULES:
Token MUST implement ERC20 standard interface (name(), symbol(), decimals(), totalSupply())
Some tokens may not implement optional methods like name() or symbol()
Decimals are critical for proper amount formatting (6 for USDC, 18 for most)
Total supply can be 0 for deflationary tokens or before minting
Information is read-only, no gas cost (view function)
PARAMETERS:
chain: EVM chain where token is deployed (required)
Token must be deployed on specified chain
Same token name may exist on multiple chains with different addresses
Chain-specific deployment addresses
tokenAddress: ERC20 token contract address (required)
Format: 0x followed by 40 hex characters
Must be deployed contract with ERC20 interface
Examples: USDC, DAI, WETH, custom tokens
EXAMPLES: ✅ Get USDC info on Polygon: {chain: "polygon", tokenAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"}
✅ Get DAI info on Ethereum: {chain: "ethereum", tokenAddress: "0x6B175474E89094C44Da98b954EedeAC495271d0F"}
✅ Get custom token info on BSC: {chain: "bsc", tokenAddress: "0x..."}
❌ Invalid - native token (no contract): {chain: "polygon", tokenAddress: "0x0000000000000000000000000000000000000000"}
❌ Invalid - not an ERC20 token: {chain: "ethereum", tokenAddress: "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"} // NFT contract
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 query success • chain: Chain queried • tokenAddress: Token contract address • name: Token name (e.g., "USD Coin") • symbol: Token symbol (e.g., "USDC") • decimals: Number of decimals (6, 8, or 18 typically) • totalSupply: Total token supply (raw units and formatted) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Trying to get info for native tokens (ETH, POL don't have contracts)
Using token address from wrong chain
Not checking decimals before formatting amounts
Assuming all tokens have 18 decimals (USDC has 6)
Confusing token symbol with token name
USE CASES:
Verify token authenticity before trading
Get decimals for proper amount formatting
Check total supply for tokenomics analysis
Display token metadata in UI
Validate token contract before approvals
DECIMALS IMPACT:
18 decimals: 1 token = 1000000000000000000 raw units
6 decimals: 1 token = 1000000 raw units (USDC, USDT)
8 decimals: 1 token = 100000000 raw units (WBTC)
OPTIONAL METHODS: Some tokens may not implement name() or symbol():
Fallback to "Unknown" if not implemented
Core method decimals() is usually present
totalSupply() is part of standard ERC20
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
Inputs: chain (required), tokenAddress (required).
evm_get_token_nameC
Get the name of an ERC-20 token
Inputs: chain (required), tokenAddress (required).
evm_get_token_symbolC
Get the symbol of an ERC-20 token
Inputs: chain (required), tokenAddress (required).
evm_get_token_total_supplyC
Get the total supply of an ERC-20 token
Inputs: chain (required), tokenAddress (required).
evm_get_transactionA
Get transaction details including status, gas used, receipt, and execution results.
Retrieves comprehensive transaction information from the blockchain, including confirmation status, gas usage, block inclusion, and any emitted events or logs.
CRITICAL RULES:
Transaction hash MUST be a valid 0x-prefixed hex string (66 characters: 0x + 64 hex digits)
Transaction must exist on the specified chain (returns null if not found)
Pending transactions show null block number and confirmation count
Failed transactions are included (check status field)
PARAMETERS:
chain: EVM chain to query (required)
Must match one of the 7 supported chains
Transaction hashes are chain-specific
Same hash on different chains refers to different transactions
txHash: Transaction hash to retrieve (required)
Format: 0x followed by 64 hexadecimal characters
Case-insensitive
Example: "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
EXAMPLES: ✅ Get confirmed transaction: {chain: "polygon", txHash: "0x1234...abcd"}
✅ Check pending transaction: {chain: "ethereum", txHash: "0xabcd...1234"}
✅ Analyze failed transaction: {chain: "bsc", txHash: "0x9876...fedc"}
❌ Invalid - wrong hash length: {chain: "polygon", txHash: "0x1234"}
❌ Invalid - missing 0x prefix: {chain: "ethereum", txHash: "1234567890abcdef..."}
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 • transaction: Object with transaction details
hash: Transaction hash
from: Sender address
to: Recipient address (null for contract creation)
value: Amount transferred in wei
gasPrice/maxFeePerGas: Gas pricing (EIP-1559 or legacy)
gasUsed: Actual gas consumed
blockNumber: Block inclusion (null if pending)
status: 1 (success) or 0 (failed)
logs: Array of emitted events • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Using transaction hash from wrong chain
Forgetting 0x prefix on hash
Not checking status field (assuming all transactions succeeded)
Expecting instant confirmation (some chains take time)
USE CASES:
Verify transaction succeeded before proceeding
Check gas costs for transaction types
Debug failed transactions via logs
Monitor transaction confirmation status
Analyze contract event emissions
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
Inputs: chain (required), txHash (required).
evm_get_transaction_analyticsB
Analyze transaction patterns: frequency, gas usage, and activity trends.
CRITICAL RULES:
Read-only operation
Default: 1000 recent blocks
Computationally intensive
Rate limits may apply
PARAMETERS:
chain: EVM chain (required)
address: Account to analyze (required)
blockRange: Blocks to scan (optional, default: 1000)
EXAMPLES: ✅ Transaction patterns: {chain: "ethereum", address: "0x742d35Cc..."} ✅ Last 500 blocks: {chain: "polygon", address: "0x742d35Cc...", blockRange: 500}
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: • frequency: Transactions per day • gasUsage: Average and total gas • patterns: Peak activity times • types: Contract vs transfer ratio
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
Inputs: chain (required), address (required), blockRange.
evm_get_transaction_countC
Get the number of transactions sent from an address (nonce)
Inputs: chain (required), address (required), blockTag.
evm_get_transaction_historyA
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
Inputs: chain (required), address (required), limit.
evm_get_transaction_receiptC
Get the receipt of a mined transaction
Inputs: chain (required), txHash (required).
evm_get_user_liquidityC
Get user's liquidity positions across DEX pools (PLACEHOLDER - limited implementation).
Lists LP token balances and calculates underlying token amounts. Useful for portfolio tracking.
PARAMETERS:
chain, address: Required
dex: Optional filter
EXAMPLES: ✅ {chain: "polygon", address: "0x742d35..."}
NOTE: Placeholder tool - may return guidance instead of data.
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.
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
Inputs: chain (required), address (required), dex.
evm_get_wallet_infoA
Get comprehensive wallet information without exposing sensitive private keys.
Retrieves public wallet data including balance, transaction count, and account status. Safe to use for displaying wallet info to users without security risks.
CRITICAL RULES:
Does NOT return private keys or mnemonic (safe for display)
Shows current blockchain state (not historical)
Returns same data as evm_get_account_info but formatted for wallet context
Combines balance + nonce + contract check in one call
PARAMETERS:
chain: EVM chain to query (required)
Wallet state is chain-specific
Same address may have different balances/nonces per chain
address: Wallet address to inspect (required)
Format: 0x followed by 40 hex characters
Works for any address (doesn't need to be "imported")
Example: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
EXAMPLES: ✅ Check wallet info: {chain: "polygon", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
✅ Verify wallet status: {chain: "ethereum", address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}
✅ Display to user: {chain: "bsc", address: "0x..."}
❌ Invalid - wrong format: {chain: "polygon", address: "0x123"}
❌ Invalid - not checksummed (works but not recommended): {chain: "ethereum", address: "0xABC..."} // All caps
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 (checksummed) • balance: Object with wei and ether values • nonce: Transaction count (txs sent from this address) • isContract: Boolean (false for wallets, true for contracts) • hasActivity: Boolean (true if nonce > 0 or balance > 0) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Expecting private key in response (not returned for security)
Confusing with evm_get_account_info (same data, different context)
Not checking isContract before treating as wallet
Assuming zero balance means unused (could have sent everything)
USE CASES:
Display wallet balance in UI
Check if wallet has funds before transaction
Verify wallet activity status
Show transaction count to users
Validate wallet exists and is active
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
Inputs: chain (required), address (required).
evm_helpB
Display comprehensive help about the EVM chains server, tools, and usage.
Provides overview of 108 available tools organized by category. Shows usage examples, supported chains, and best practices. Optional topic parameter for category-specific help.
CRITICAL RULES:
No parameters required for general help
Topic filter for specific categories
Returns formatted documentation
Lists all 7 supported EVM chains
Shows tool counts per category
PARAMETERS:
topic: Category filter (optional)
Valid topics: "core", "wallet", "tokens", "contracts", "defi", "nft", "network", "help", "analytics"
Omit for complete overview
EXAMPLES: ✅ Get complete server overview: {}
✅ Get help on DeFi operations: {topic: "defi"}
✅ Learn about token tools: {topic: "tokens"}
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: • serverInfo: Version, supported chains • categories: Tool categories with counts • tools: Matching tools (if topic specified) • examples: Usage examples • bestPractices: Recommended workflows
COMMON MISTAKES:
Using invalid topic names
Expecting tool implementation details
Not reading critical rules sections
USE CASES:
Learn about available tools
Understand tool organization
Get started with EVM operations
Find specific functionality
Explore advanced features
TOOL CATEGORIES:
Core: Basic blockchain operations
Wallet: Private key and address management
Tokens: ERC-20 token operations
Contracts: Smart contract interactions
DeFi: DEX, liquidity, yield farming
NFT: ERC-721 operations and metadata
Network: Gas, blocks, chain info
Help: Discovery and search
Analytics: Account and transaction analysis
SUPPORTED CHAINS:
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
GETTING STARTED:
Use evm_help() for overview
Check evm_get_chain_info("all") for chain status
Try evm_list_tools_by_category() to browse tools
Search with evm_search_tools("your need")
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
Inputs: topic.
evm_import_walletA
Import existing wallet from private key or BIP39 mnemonic with custom derivation path.
Reconstructs wallet from either a raw private key or mnemonic seed phrase. Supports custom BIP44 derivation paths for advanced use cases. Essential for wallet recovery and migration.
CRITICAL RULES:
Must provide either privateKey OR mnemonic (not both, not neither)
Private keys are 64 hex characters (with or without 0x prefix)
Mnemonics are 12 or 24 words separated by spaces
Custom derivation paths must follow BIP44 format
Imported wallet works across all EVM chains
PARAMETERS:
chain: EVM chain context (required)
Doesn't affect import (same wallet works everywhere)
Used for consistency with other wallet tools
privateKey: Raw private key (optional - use if you have key)
Format: 0x followed by 64 hex characters OR 64 hex without prefix
Example: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
Takes precedence if both privateKey and mnemonic provided
mnemonic: BIP39 seed phrase (optional - use if you have mnemonic)
12 or 24 words separated by single spaces
Example: "test test test test test test test test test test test junk"
Requires derivationPath parameter to generate specific address
derivationPath: BIP44 path (optional, default: m/44'/60'/0'/0/0)
Only used with mnemonic imports
Format: m/44'/60'/account'/change/index
Default generates first address (index 0)
Example: "m/44'/60'/0'/0/5" for 6th address
EXAMPLES: ✅ Import from private key: {chain: "polygon", privateKey: "0xac0974..."}
✅ Import from mnemonic (default path): {chain: "ethereum", mnemonic: "test test test..."}
✅ Import specific address from mnemonic: {chain: "bsc", mnemonic: "word1 word2...", derivationPath: "m/44'/60'/0'/0/5"}
❌ Invalid - neither key nor mnemonic: {chain: "polygon"}
❌ Invalid - wrong key format: {chain: "ethereum", privateKey: "1234"}
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 • chain: Chain context used • address: Derived public address (0x...) • privateKey: Private key (0x... - KEEP SECRET) • derivationPath: Path used (only for mnemonic imports) • importMethod: "privateKey" or "mnemonic" • warning: Security reminder • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Providing both privateKey and mnemonic (only one needed)
Wrong mnemonic word count (must be 12 or 24)
Invalid derivation path format
Not securing imported credentials
Importing production keys in development environments
USE CASES:
Recover wallet from backup
Migrate wallet between applications
Import MetaMask/hardware wallet addresses
Restore from mnemonic backup
Generate multiple addresses from one seed
IMPORT STRATEGIES:
Private Key: Direct import, works immediately
Mnemonic + Default Path: Import first wallet address
Mnemonic + Custom Path: Import specific account/address
Hardware Wallet Compatibility: Use standard paths
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
Inputs: chain (required), mnemonic, privateKey, derivationPath.
evm_is_approved_for_allC
Check if an operator is approved to manage all NFTs for an owner
Inputs: chain (required), owner (required), operator (required), contractAddress (required).
evm_list_tools_by_categoryB
List all 108 tools organized by functional category.
Displays complete tool inventory grouped by category: Core, Wallet, Tokens, Contracts, DeFi, NFT, Network/Gas, Help, Analytics. Optional category filter for specific groups.
CRITICAL RULES:
Shows all tools if no category specified
Category filter for focused view
Includes tool counts per category
Organized by functionality
PARAMETERS:
category: Category filter (optional)
Valid: "core", "wallet", "tokens", "contracts", "defi", "nft", "network", "account", "help", "analytics"
Omit to see all categories
EXAMPLES: ✅ List all tools by category: {}
✅ Show only DeFi tools: {category: "defi"}
✅ View wallet operations: {category: "wallet"}
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: • categories: Object with category arrays • totalTools: Total tool count • categoryCounts: Tools per category
USE CASES:
Browse available tools
Understand tool organization
Find tools by category
Explore functionality groups
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
Inputs: category.
evm_lookup_addressC
Reverse resolve Ethereum address to ENS name (if configured). Note: ENS is primarily on Ethereum mainnet, testnet support varies.
Inputs: chain (required), address (required).
evm_mint_nftA
Mint new ERC721 NFT with metadata URI. Requires minter role on contract.
CRITICAL RULES:
Must have MINTER_ROLE or be owner
tokenId must be unique (not already minted)
tokenUri links to JSON metadata (IPFS recommended)
Requires gas for transaction
PARAMETERS:
contractAddress: NFT collection (required)
to: Recipient address (required)
tokenId: Unique ID as string (required)
tokenUri: Metadata URI (optional)
privateKey: Minter key (required)
EXAMPLES: ✅ Mint NFT #1 with IPFS metadata: {chain: "polygon", contractAddress: "0xNFT...", to: "0x742d35...", tokenId: "1", tokenUri: "ipfs://QmABC...", privateKey: "0x..."}
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.
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
Inputs: to (required), chain (required), tokenId (required), privateKey (required), +2 more.
evm_mint_tokenA
Mint (create) additional tokens and add them to circulation (requires minter role on token contract).
Creates new tokens from nothing and sends them to specified address, increasing total supply. Only works if token contract implements minting functionality and caller has minter privileges.
CRITICAL RULES:
Token contract MUST support minting (not all ERC20 tokens do)
Caller MUST have minter role or be contract owner
Increases total token supply (inflationary)
Transaction is irreversible once confirmed
Most standard tokens (USDC, USDT) do NOT allow public minting
Works mainly with custom tokens you deployed
PARAMETERS:
chain: EVM chain where token is deployed (required)
Token must support minting on this chain
Requires gas payment in native token
tokenAddress: Mintable token contract address (required)
Format: 0x followed by 40 hex characters
Must be token with mint() function
Typically tokens you deployed yourself
Public tokens (USDC, DAI) don't allow minting
toAddress: Recipient address for minted tokens (required)
Format: 0x followed by 40 hex characters
Can be any address (EOA or contract)
Often the minter's own address
amount: Amount to mint in token units (required)
Human-readable format: "1000" = 1000 tokens
Automatically converted using token decimals
No upper limit (careful with tokenomics)
Examples: "1000000", "100.5", "50"
privateKey: Minter's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must be address with MINTER_ROLE or owner
Usually contract deployer has this role
Never expose, share, or log this value
EXAMPLES: ✅ Mint 1000 tokens to your address (Polygon): {chain: "polygon", tokenAddress: "0xYourToken...", toAddress: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", amount: "1000", privateKey: "0xac0974..."}
✅ Mint tokens for airdrop (BSC): {chain: "bsc", tokenAddress: "0x...", toAddress: "0xRecipient...", amount: "500", privateKey: "0x..."}
✅ Mint small amount for testing (Arbitrum): {chain: "arbitrum", tokenAddress: "0x...", toAddress: "0x...", amount: "10", privateKey: "0x..."}
❌ Invalid - no minter role: {privateKey: "0xRandomUser..."} // Not authorized
❌ Invalid - standard token doesn't support minting: {tokenAddress: "0xUSDC..."} // USDC doesn't allow public minting
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 minting success • chain: Chain where minting occurred • transactionHash: Mint transaction hash • tokenAddress: Token contract address • toAddress: Recipient of minted tokens • amount: Amount minted (formatted) • minter: Minter address (from privateKey) • newTotalSupply: Updated total supply after minting • gasUsed: Gas consumed by transaction • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Trying to mint tokens you didn't deploy (access denied)
Not having minter role (transaction will fail)
Minting on wrong chain (token not deployed there)
Over-minting and destroying tokenomics
Not considering impact on token price (inflation)
USE CASES:
Airdrop tokens to community members
Reward program (mint tokens as rewards)
Gradual token distribution (vesting schedules)
Testing token functionality on testnet
Adjust supply based on demand (algorithmic tokens)
MINTING MECHANICS:
Increases total supply by minted amount
Credits recipient address with new tokens
Dilutes existing token holders (inflation)
No maximum limit (except uint256 max)
Can be called multiple times
ACCESS CONTROL:
Token contract must have implemented access control
Common patterns:
Ownable: Only owner can mint
AccessControl: Addresses with MINTER_ROLE can mint
No access control: Anyone can mint (dangerous!)
TOKENOMICS IMPACT:
Minting increases supply (inflationary)
Can decrease token value if not managed
Should align with tokenomics model
Consider: emission schedule, max supply, utility
GAS COSTS:
Similar to token transfers (~50,000-65,000 gas)
Ethereum Sepolia: ~0.001-0.002 ETH
Polygon: ~0.00005 POL (very cheap)
BSC: ~0.0001 BNB
Arbitrum/Base: ~0.0001 ETH
SECURITY NOTES:
Protect minter private key carefully (can inflate supply)
Consider time-locking minting functions
Implement minting caps for safety
Test on testnet before mainnet minting
Monitor total supply after minting
CHECKING MINTER ROLE: Before attempting to mint, verify you have permission:
Check if you're contract owner
Check if you have MINTER_ROLE (AccessControl pattern)
Attempt small test mint first
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
Inputs: chain (required), amount (required), toAddress (required), privateKey (required), +1 more.
evm_multicallA
Execute multiple contract calls in a single transaction
Batch multiple read/write operations for gas efficiency. Uses Multicall3 for atomic execution.
FEATURES:
Atomic execution of multiple calls
Gas savings vs individual transactions
Allow selective call failures
Automatic result decoding
Works with any contract
PARAMETERS:
chain: Target blockchain
calls: Array of calls with target, callData, allowFailure
requireSuccess: Require all calls to succeed (default true)
gasLimit: Gas limit per call (optional)
Returns results array with decoded data and gas savings.
Inputs: calls (required), chain (required), gasLimit, requireSuccess.
evm_remove_liquidityA
Remove liquidity from DEX pool by burning LP tokens, retrieving both tokens proportionally.
CRITICAL RULES:
Burns LP tokens, receives tokenA and tokenB
Amounts proportional to pool share
Must approve LP token for router
Collected fees included in withdrawal
Transaction irreversible
PARAMETERS:
tokenA, tokenB: Original pair tokens (required)
liquidityAmount: LP tokens to burn (required)
slippageTolerance: "0.5" = 0.5% (required)
privateKey: Must hold LP tokens (required)
EXAMPLES: ✅ Remove 50% liquidity from USDC/WETH pool: {chain: "polygon", dex: "quickswap", tokenA: "0x2791Bca...", tokenB: "0x7ceB23fD...", liquidityAmount: "5.0", slippageTolerance: "0.5", privateKey: "0x..."}
WORKFLOW:
Check LP token balance
Approve LP token for router
Remove liquidity (this tool)
Receive tokenA + tokenB
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.
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
Inputs: dex (required), chain (required), tokenA (required), tokenB (required), +3 more.
evm_resolve_ensA
Resolve ENS (Ethereum Name Service) name to Ethereum address. Note: ENS is primarily on Ethereum mainnet, testnet support varies.
Inputs: chain (required), ensName (required).
evm_reverse_ens_lookupA
Reverse ENS lookup - resolve address to ENS name.
Queries ENS reverse records to find the primary ENS name for an address. Primarily works on Ethereum mainnet/Sepolia.
PARAMETERS:
chain: Target EVM chain (ethereum recommended)
address: Ethereum address to lookup
ENS REVERSE: • Finds primary ENS name for address • Returns null if no reverse record set • Address owner must set reverse record • Works best on Ethereum mainnet/testnet
USAGE: • Display human-readable names for addresses • Verify address ownership • Wallet identity resolution • DApp user experience
Returns ENS name if set, null otherwise.
Inputs: chain (required), address (required).
evm_search_toolsA
Search for tools by keyword in name, description, or category.
Full-text search across all 108 tools. Searches tool names, descriptions, and categories. Returns matching tools with descriptions and usage hints. Case-insensitive partial matching.
CRITICAL RULES:
Minimum 2 characters for query
Searches names, descriptions, categories
Case-insensitive matching
Returns ranked results
PARAMETERS:
query: Search keyword (required)
Minimum 2 characters
Examples: "swap", "balance", "nft", "gas"
EXAMPLES: ✅ Find token-related tools: {query: "token"}
✅ Search for swap operations: {query: "swap"}
✅ Find balance checking tools: {query: "balance"}
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: • matches: Array of matching tools • count: Number of results • query: Original search term
USE CASES:
Find tools by functionality
Discover related operations
Explore tool capabilities
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
Inputs: query (required).
evm_send_contract_transactionA
Send transaction to smart contract to execute write function (modifies state, requires gas).
Broadcasts transaction to blockchain that modifies contract state. Used for token transfers, staking, swaps, NFT minting, and any operation that changes on-chain data. Transaction must be confirmed by network.
CRITICAL RULES:
Modifies blockchain state (write operation)
Requires gas payment in native token
Transaction is irreversible once confirmed
Must have correct ABI and function signature
Parameters must match exactly (type and order)
Private key grants transaction signing authority
Optional value parameter to send native tokens with call
PARAMETERS:
chain: EVM chain to execute transaction on (required)
Must have gas in native token
Gas costs vary by chain and function complexity
contractAddress: Smart contract address (required)
Format: 0x followed by 40 hex characters
Must be deployed contract
Examples: DEX routers, NFT contracts, staking pools
abi: Contract Application Binary Interface (required)
JSON array defining contract interface
Must include function being called
Get from block explorer or project docs
Defines function signature for encoding
functionName: Name of function to execute (required)
Must be state-changing function (not view/pure)
Case-sensitive, exact match required
Examples: "transfer", "approve", "swap", "stake"
params: Function parameters array (optional)
Must match function signature exactly
Correct types and order critical
Empty array [] if no parameters
Examples: ["0xAddress", "1000"], []
value: Native token amount to send (optional)
In ether units (e.g., "0.1" = 0.1 ETH/POL/etc.)
Used for payable functions only
Most functions don't need this (default: "0")
Examples: "0.1", "1.5", "0"
privateKey: Transaction signer's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must have gas for transaction
Grants full signing authority
Never expose, share, or log this value
EXAMPLES: ✅ Stake tokens in DeFi protocol (Polygon): {chain: "polygon", contractAddress: "0xStakingContract...", abi: [...], functionName: "stake", params: ["1000000000000000000"], value: "0", privateKey: "0xac0974..."}
✅ Execute DEX swap (Arbitrum): {chain: "arbitrum", contractAddress: "0xRouterV2...", abi: [...], functionName: "swapExactTokensForTokens", params: ["1000000", "950000", ["0xToken0", "0xToken1"], "0xRecipient", "1234567890"], privateKey: "0x..."}
✅ Mint NFT with payment (Ethereum): {chain: "ethereum", contractAddress: "0xNFT...", abi: [...], functionName: "mint", params: ["1"], value: "0.05", privateKey: "0x..."}
❌ Invalid - insufficient gas: {chain: "ethereum", ...} // No ETH for gas
❌ Invalid - wrong parameter types: {params: [1000, "0xAddress"]} // Number instead of string
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 transaction success • chain: Chain where transaction executed • transactionHash: Transaction hash for tracking • contractAddress: Contract called • functionName: Function executed • from: Sender address (derived from privateKey) • gasUsed: Gas consumed by transaction • blockNumber: Block containing transaction • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not having sufficient gas for transaction
Wrong ABI (function signature mismatch)
Incorrect parameter types or order
Forgetting to approve tokens before swap/transfer
Using view/pure functions (use evm_call_contract instead)
Not waiting for transaction confirmation
USE CASES:
Execute DEX token swaps
Stake tokens in DeFi protocols
Mint or transfer NFTs
Claim rewards from contracts
Interact with lending protocols
Call custom contract functions
TRANSACTION FLOW:
Check gas balance (evm_get_balance)
Approve tokens if needed (evm_approve_token)
Encode function call with ABI
Sign transaction with private key
Broadcast to network
Wait for confirmation
GAS ESTIMATION:
Simple functions: 50,000-100,000 gas
Complex functions (swaps): 150,000-300,000 gas
Very complex (multi-operation): 300,000-500,000 gas
Use evm_estimate_gas before executing
PAYABLE FUNCTIONS: Functions that accept native tokens (ETH/POL):
Specify value parameter in ether units
Contract must mark function as "payable"
Common in: NFT minting, deposits, purchases
Example: Mint NFT for 0.05 ETH
NON-PAYABLE FUNCTIONS: Most functions don't accept native tokens:
Leave value as "0" or omit
Use token approvals instead (ERC20)
Attempting to send value will fail
GETTING CONTRACT ABI:
Block explorer (Etherscan/PolygonScan) - verified contracts
Project GitHub repository
Project documentation
npm packages (@uniswap/v2-periphery)
SECURITY NOTES:
Verify contract address carefully (phishing risk)
Check function name and parameters
Test with small amounts first
Understand what function does before calling
Monitor transaction on block explorer
Keep private keys secure
ABI REQUIREMENT: Full function ABI entry needed: { "name": "transfer", "type": "function", "stateMutability": "nonpayable", "inputs": [ {"name": "recipient", "type": "address"}, {"name": "amount", "type": "uint256"} ], "outputs": [{"name": "", "type": "bool"}] }
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
Inputs: abi (required), chain (required), privateKey (required), functionName (required), +3 more.
evm_send_native_transferA
Send native tokens (ETH, POL, AVAX, etc.) from one address to another.
This tool handles the entire process of constructing, signing, and broadcasting a native token transfer. It automatically fetches the nonce, estimates gas, and signs the transaction using the provided private key.
CRITICAL RULES:
Requires sufficient native token balance in the sender account for the amount and gas fees.
Transaction is irreversible once confirmed on-chain.
Private key grants full control over the sender account - NEVER share or log it in production.
PARAMETERS:
chain: EVM chain to execute the transfer on (required).
Must have gas in native token on this chain.
toAddress: Recipient address (required).
Format: 0x followed by 40 hexadecimal characters.
Can be an EOA (user wallet) or a contract address.
VERIFY CAREFULLY - transactions are irreversible.
amount: Amount to send in native token units (required).
Human-readable format: "0.01" = 0.01 native tokens.
Examples: "0.01", "1.5", "100".
privateKey: Sender's private key (required, KEEP SECRET).
Format: 0x followed by 64 hexadecimal characters.
Must be the private key for the address that holds the native tokens.
Never expose, share, or log this value.
EXAMPLES: ✅ Send 0.01 ETH on Ethereum Sepolia: {chain: "ethereum", toAddress: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", amount: "0.01", privateKey: "0xac0974..."}
✅ Send 0.5 POL on Polygon Amoy: {chain: "polygon", toAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", amount: "0.5", privateKey: "0x..."}
❌ Invalid - insufficient balance: {chain: "polygon", toAddress: "0x...", amount: "1000", privateKey: "0x..."} // Sender only has 10 POL
❌ Invalid - wrong private key format: {chain: "ethereum", toAddress: "0x...", amount: "0.01", privateKey: "invalid-key"}
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 transaction success. • chain: Chain where the transaction was executed. • from: Sender address (derived from privateKey). • to: Recipient address. • amount: Amount transferred (formatted). • transactionHash: Unique transaction identifier (0x...). Use this to track on a block explorer. • gasUsed: Gas consumed by the transaction. • blockNumber: Block containing the transaction. • explorerUrl: Link to the transaction on the block explorer. • message: Confirmation message. • executionTime: Time taken in milliseconds.
COMMON MISTAKES:
Not checking sender has sufficient native token balance for amount + gas.
Wrong recipient address (DOUBLE CHECK - irreversible).
Using a private key for an address that doesn't own the tokens.
Not waiting for transaction confirmation before assuming success.
USE CASES:
Transfer native tokens between wallets.
Fund new accounts.
Pay for services or products in native currency.
Test native token transfer functionality.
TRANSACTION FLOW:
Get sender's nonce.
Estimate gas limit and current gas price.
Construct the raw transaction object.
Sign the transaction using the private key.
Broadcast the signed transaction to the network.
Wait for the transaction receipt for confirmation.
SECURITY NOTES:
Verify recipient address carefully (no undo).
Never transfer to the zero address (0x0000...0000) unless intentionally burning.
Keep private keys secure and never share or log them in production environments.
Start with small test amounts on unfamiliar chains.
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
Inputs: chain (required), amount (required), toAddress (required), privateKey (required).
evm_send_private_transactionA
Send transaction through private mempool to prevent MEV attacks
Protects against frontrunning, sandwich attacks, and other MEV exploitation. Uses Flashbots on Ethereum, alternative strategies on other chains.
MEV PROTECTION:
Ethereum: Full Flashbots bundle support
Other chains: Quick inclusion with high gas strategy
Prevents transaction from appearing in public mempool
Simulates bundle before submission
PARAMETERS:
chain: Target EVM chain
transaction: Transaction details (to, value, data, gas params)
privateKey: Private key for signing
targetBlock: Target block for inclusion (optional)
maxBlockNumber: Maximum block for inclusion (optional)
Returns bundle hash, simulation results, and MEV protection status.
Inputs: chain (required), privateKey (required), transaction (required), hints, +3 more.
evm_send_transactionA
Broadcast a signed transaction to the blockchain network for execution.
Submits a pre-signed transaction to the network's mempool for mining/validation. This is a write operation that costs gas. Transaction must be signed offline before calling this tool.
CRITICAL RULES:
Transaction MUST be signed before submission (this tool doesn't sign)
Requires sufficient gas balance in sender account
Transaction is irreversible once confirmed on-chain
Returns transaction hash immediately (not final confirmation)
Check transaction status after sending to verify success
PARAMETERS:
chain: Target EVM chain for broadcast (required)
Transaction is chain-specific (cannot broadcast to wrong chain)
Gas costs vary dramatically between chains
Must match the chainId used during signing
signedTransaction: RLP-encoded signed transaction (required)
Format: 0x followed by hex-encoded signed transaction bytes
Includes signature (v, r, s values)
Created using wallet signing tools (ethers, web3, etc.)
Example: "0xf86c..." (varies in length)
EXAMPLES: ✅ Send signed transaction: {chain: "polygon", signedTransaction: "0xf86c808504a817c800825208..."}
✅ Broadcast on low-gas chain: {chain: "bsc", signedTransaction: "0xf86d..."}
✅ Execute contract interaction: {chain: "ethereum", signedTransaction: "0xf8ab..."}
❌ Invalid - unsigned transaction: {chain: "polygon", signedTransaction: "0x..."} // Missing signature
❌ Invalid - wrong chain: {chain: "ethereum", signedTransaction: "..."} // Signed for polygon
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 broadcast success • transactionHash: Unique transaction identifier (0x...) • chain: Chain where transaction was broadcast • status: "pending" (broadcasted but not confirmed) • explorerUrl: Block explorer link to track transaction • executionTime: Time taken to broadcast (not confirmation time)
COMMON MISTAKES:
Expecting immediate confirmation (transactions take time to mine)
Not checking transaction status after sending
Forgetting to wait for confirmations before proceeding
Using wrong chain RPC for signed transaction
Insufficient gas balance causing transaction to fail
USE CASES:
Execute token transfers after offline signing
Deploy smart contracts
Interact with DeFi protocols
Send native currency transfers
Batch transaction submissions
TRANSACTION LIFECYCLE:
Sign transaction offline (not in this tool)
Broadcast with this tool → returns txHash
Transaction enters mempool (pending)
Miner includes in block (1 confirmation)
Wait for additional confirmations for finality
Use evm_get_transaction to check final status
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
Inputs: chain (required), signedTransaction (required).
evm_set_approval_for_allC
Approve or revoke operator permissions to manage all NFTs
Inputs: chain (required), approved (required), operator (required), privateKey (required), +1 more.
evm_sign_messageA
Sign arbitrary message for authentication, verification, or proof-of-ownership (NOT a transaction).
Creates cryptographic signature of a message using private key. Used for authentication flows, message verification, and proving address ownership. Does not broadcast to blockchain.
CRITICAL RULES:
Signs messages, NOT transactions (no gas cost, no broadcast)
Signature can be verified without exposing private key
Standard EIP-191 message signing (\x19Ethereum Signed Message prefix)
Anyone can verify signature matches address (public verification)
Signature is deterministic (same message+key = same signature)
PARAMETERS:
chain: EVM chain context (required but doesn't affect signature)
Signature works across all chains
Chain parameter for consistency
message: Text message to sign (required)
Any UTF-8 text string
Common uses: "Sign in to {app}", "Prove ownership", timestamps
Example: "I approve this action at 2024-01-15T10:30:00Z"
privateKey: Signing key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must be key for address you want to prove ownership of
Never share or log this value
EXAMPLES: ✅ Sign authentication message: {chain: "polygon", message: "Sign in to MyApp", privateKey: "0xac0974..."}
✅ Prove ownership with timestamp: {chain: "ethereum", message: "I own this address - 2024-01-15", privateKey: "0x..."}
✅ Sign structured data: {chain: "bsc", message: "Action: transfer\nAmount: 100\nTimestamp: 1234567890", privateKey: "0x..."}
❌ Invalid - trying to sign transaction: {chain: "polygon", message: "0xf86c...", privateKey: "0x..."} // Use evm_send_transaction
❌ Invalid - wrong key format: {chain: "ethereum", message: "test", privateKey: "1234"}
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 signing success • message: Original message that was signed • signature: ECDSA signature (0x... 130 hex chars: r + s + v) • address: Address that created signature (derived from privateKey) • messageHash: Keccak256 hash of prefixed message • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Trying to sign transactions (use evm_send_transaction instead)
Not including timestamp in message (vulnerable to replay)
Exposing private key accidentally
Not implementing signature verification on backend
Assuming signatures expire (they don't - add expiry in message)
USE CASES:
Web3 authentication (Sign-In with Ethereum)
Prove address ownership without transaction
Off-chain message verification
Create signed permits/approvals
Generate proofs for access control
SIGNATURE VERIFICATION:
Frontend: Use ethers.verifyMessage(message, signature)
Backend: Recover address from signature and compare
Anyone can verify signature without private key
Signature proves message was signed by address
SECURITY NOTES:
Never sign messages from untrusted sources
Include context in message (app name, action, timestamp)
Implement message expiry (include timestamp users should check)
Don't sign messages that look like transactions
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
Inputs: chain (required), message (required), privateKey (required).
evm_sign_typed_dataB
Sign EIP-712 typed structured data.
Creates secure, human-readable signatures for structured data (permits, meta-txs, governance votes). Universal EVM standard for off-chain message signing.
PARAMETERS:
chain: Target EVM chain
domain: EIP-712 domain object (name, version, chainId, verifyingContract)
types: Type definitions for the data
value: Data to sign
privateKey: Signer's private key
EIP-712 BENEFITS: • Human-readable signatures • Domain separation prevents replay attacks • Type-safe structured data • Used by permits, governance, meta-transactions • Wallet-friendly UX
Returns signature, domain hash, message hash, and signer address.
Inputs: chain (required), types (required), value (required), domain (required), +1 more.
evm_simulate_bundleA
Simulate Flashbots bundle execution before submission.
Tests bundle transactions off-chain to verify profitability and prevent reverts. Ethereum-focused but provides insights for other chains.
PARAMETERS:
chain: Target EVM chain (Ethereum recommended)
transactions: Array of transaction objects to bundle
targetBlock: Block number for simulation
stateBlockNumber: Block to use for state (optional)
SIMULATION: • Validates bundle atomicity • Checks for reverts • Estimates profit and costs • Detects conflicts with pending transactions
Returns simulation results, profit estimates, and revert analysis.
Inputs: chain (required), targetBlock (required), transactions (required), stateBlockNumber.
evm_stake_lpA
Stake LP tokens in yield farms to earn farming rewards.
Deposits liquidity provider (LP) tokens into farming contracts to earn additional yield beyond trading fees. Automatically approves LP tokens before staking.
CRITICAL RULES:
Must hold LP tokens to stake
Requires gas in native token
Must approve LP tokens for farm contract
Staked LP tokens cannot be used elsewhere
Transaction irreversible once confirmed
PARAMETERS:
chain: EVM chain to execute on (required)
Farm must be deployed on this chain
Requires gas in native token
protocol: Yield farming protocol (required)
Examples: "uniswap", "sushiswap", "curve", "pancakeswap"
Must support the LP token
lpToken: LP token address to stake (required)
Format: 0x followed by 40 hex characters
Must be valid ERC-20 LP token
amount: Amount of LP tokens to stake (required)
Human-readable format: "100" = 100 LP tokens
Must have sufficient balance
privateKey: Transaction signer's private key (required, KEEP SECRET)
Must be address holding LP tokens
Never expose, share, or log
poolId: Pool/Farm ID (optional)
Required for protocols with multiple farms
Check protocol docs for pool IDs
EXAMPLES: ✅ Stake LP tokens on SushiSwap: {chain: "polygon", protocol: "sushiswap", lpToken: "0x...", amount: "100", privateKey: "0xac0974...", poolId: 0}
✅ Stake on Curve (no poolId): {chain: "ethereum", protocol: "curve", lpToken: "0x...", amount: "50.5", privateKey: "0x..."}
✅ Stake on PancakeSwap: {chain: "bsc", protocol: "pancakeswap", lpToken: "0x...", amount: "1000", privateKey: "0x...", poolId: 12}
❌ Invalid - insufficient LP tokens: {amount: "1000"} // Only have 100 LP tokens
❌ Invalid - missing poolId for multi-pool protocol: {chain: "polygon", protocol: "sushiswap", lpToken: "0x...", amount: "100", privateKey: "0x..."} // Need poolId
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 staking success • transactionHash: Transaction hash for tracking • lpTokenStaked: Amount of LP tokens staked • farmingContract: Farm contract address • estimatedAPY: Expected farming APY • gasUsed: Gas consumed • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not having gas for transaction
Forgetting LP tokens need approval
Wrong poolId for farm
Staking when better yields available elsewhere
Not tracking staked positions
USE CASES:
Maximize LP token yield
Earn farming rewards
Participate in liquidity mining
Access protocol governance tokens
Bootstrap new DEX pairs
SUPPORTED PROTOCOLS:
Uniswap: V2 and V3 farming
SushiSwap: MasterChef farms
Curve: Gauge staking
QuickSwap: Dragon's Lair
Balancer: Gauge staking
TraderJoe: MasterChef farms
Pangolin: PNG rewards
PancakeSwap: Syrup pools
Biswap: Farming pools
Camelot: Nitro pools
BaseSwap: Farming
Aerodrome: Gauges
STAKING PROCESS:
Check LP token balance
Approve LP tokens for farm
Call stake/deposit function
Rewards start accruing immediately
Track position in farm
GAS COSTS:
Approval: 45,000-50,000 gas
Staking: 80,000-120,000 gas
Total: ~125,000-170,000 gas
Ethereum Sepolia: ~0.002-0.003 ETH
Polygon: ~0.00005 POL
BSC: ~0.0001 BNB
REWARDS:
Accrued per block or second
Claimable anytime
May be auto-compounded
Often protocol governance tokens
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
Inputs: chain (required), amount (required), lpToken (required), protocol (required), +2 more.
evm_stake_tokensA
Stake native tokens through liquid staking protocols (Lido, Rocket Pool, etc.)
Supports major staking protocols across all EVM chains with automatic APY calculation. Returns liquid staking tokens (stETH, rETH, etc.) that earn rewards automatically.
SUPPORTED PROTOCOLS:
Ethereum: Lido (stETH), Rocket Pool (rETH)
Polygon: Native POL staking
Avalanche: Benqi (sAVAX)
BSC: Ankr staking
Arbitrum: Lido (wstETH)
Base: Coinbase (cbETH)
PARAMETERS:
chain: EVM chain for staking
amount: Amount to stake in ETH/native token
protocol: Staking protocol to use (optional, defaults to native)
validator: Validator address for native staking (optional)
privateKey: Private key for transaction signing
referral: Referral address for rewards (optional)
Returns staking receipt with APY, estimated rewards, and liquid token details.
Inputs: chain (required), amount (required), privateKey (required), protocol, +2 more.
evm_supply_assetA
Supply assets to lending protocols (Aave, Compound, etc.).
Deposit tokens to earn interest and use as collateral for borrowing. Works with major lending protocols across chains.
PARAMETERS:
chain: Target EVM chain
protocol: Lending protocol (aave, compound, radiant, etc.) - optional, auto-detects
asset: Token address to supply
amount: Amount to supply in token units
privateKey: Supplier's private key
enableAsCollateral: Use as collateral for borrowing (default: true)
LENDING PROTOCOLS: • Aave: Most chains, variable/stable rates • Compound: Ethereum, algorithmic rates • Radiant: Arbitrum, cross-chain collateral • Venus: BSC, isolated pools
SUPPLY BENEFITS: • Earn interest on idle assets • Use as collateral for loans • Receive aTokens/cTokens (interest-bearing) • Withdraw anytime (if not borrowed against)
Returns supplied amount, aTokens received, APY, and collateral status.
Inputs: asset (required), chain (required), amount (required), privateKey (required), +2 more.
evm_track_bridge_progressA
Track cross-chain bridge progress across multiple phases with real-time monitoring.
Continuously monitors bridge transaction from source chain initiation through destination chain finalization. Provides detailed phase-by-phase progress with time estimates and monitoring URLs.
CRITICAL RULES:
Monitors both source and destination chains
Multi-phase tracking (6 phases total)
Requires source chain transaction hash
Destination tracking requires userAddress for detection
L2→L1 includes 7-day challenge period
Progress percentage calculated across all phases
PARAMETERS:
sourceChain: Chain where bridge was initiated (required)
Must be chain where user initiated bridge
Examples: 'arbitrum' for Arbitrum→Ethereum, 'polygon' for Polygon→BSC
targetChain: Destination chain (required)
Chain where assets/message will arrive
Must be different from sourceChain
Examples: 'ethereum', 'polygon', 'arbitrum'
transactionHash: Source chain transaction hash (required)
Format: 0x followed by 64 hex characters
Transaction that initiated the bridge
Used to track through all phases
bridgeProtocol: Bridge protocol used (optional)
Helps identify correct events and monitoring URLs
Examples: 'canonical', 'hop', 'stargate', 'across', 'layerzero'
If omitted, attempts auto-detection
userAddress: User's address on target chain (optional)
Required for automatic destination detection
Format: 0x followed by 40 hex characters
Used to verify final receipt
includeHistory: Include past phase details (optional, default: true)
Shows timestamp for each phase completion
Useful for understanding delays
Set false for current status only
EXAMPLES: ✅ Track Arbitrum→Ethereum withdrawal: {sourceChain: "arbitrum", targetChain: "ethereum", transactionHash: "0x1234...abcd", userAddress: "0x742d35Cc..."}
✅ Monitor Polygon→BSC transfer: {sourceChain: "polygon", targetChain: "bsc", transactionHash: "0xabcd...1234", bridgeProtocol: "canonical"}
✅ Track third-party bridge: {sourceChain: "base", targetChain: "arbitrum", transactionHash: "0x9876...fedc", bridgeProtocol: "hop"}
❌ Invalid - same source and target: {sourceChain: "polygon", targetChain: "polygon", transactionHash: "0x..."}
❌ Invalid - missing userAddress for destination tracking: {sourceChain: "arbitrum", targetChain: "ethereum", transactionHash: "0x..."}
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: • currentPhase: Active phase (1-6) • progressPercent: Overall completion percentage (0-100%) • phases: Array of all phases with status and timestamps • currentStatus: Human-readable status message • estimatedCompletion: Estimated time remaining • monitoringUrls: Array of block explorer links • warnings: Any issues detected • lastUpdated: Timestamp of last check • executionTime: Time taken in milliseconds
BRIDGE PHASES TRACKED:
Source Initiated: Transaction submitted on source chain
Source Confirmed: Transaction confirmed in source block
Bridge Processing: Bridge message being processed
Destination Pending: Message received on destination
Destination Executed: Final transaction executed
Completed: All phases complete, assets available
PROGRESS CALCULATION:
Each phase = 16.67% (1/6 phases)
Source phases: 33.33% (2 phases)
Bridge processing: 16.67% (1 phase)
Destination phases: 33.33% (2 phases)
Completion: 16.67% (1 phase)
MONITORING FEATURES:
Real-time phase detection
Block explorer integration
Security verification checks
Challenge period monitoring
Automatic retry on failures
SECURITY MONITORING:
Merkle proof validation
State root verification
Validator signature checks
Challenge period alerts
Fraud proof detection
BRIDGE PROTOCOL SUPPORT:
Canonical: Arbitrum, Polygon, Optimism native bridges
Third-party: Hop, Stargate, Across, Synapse, Celer
Layer 2: Optimistic rollup challenge periods
Sidechain: Faster but less secure bridges
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
Inputs: sourceChain (required), targetChain (required), transactionHash (required), userAddress, +2 more.
evm_transfer_nftA
Transfer ERC721 NFT to another address with automatic ownership verification.
Executes safeTransferFrom on NFT contract. Verifies sender owns token before transfer. Recipient can be EOA or contract implementing IERC721Receiver. Transaction fails if not token owner.
CRITICAL RULES:
Must own the NFT being transferred
Requires gas in native token
Cannot transfer to zero address (0x0)
Recipient contract must implement IERC721Receiver
Approved operators can transfer on owner's behalf
Irreversible once confirmed
PARAMETERS:
chain: EVM chain to execute on (required)
Must have gas in native token
contractAddress: NFT collection address (required)
Must be valid ERC721 contract
Format: "0x..." (42 characters)
to: Recipient address (required)
Can be EOA or contract
Cannot be zero address
Format: "0x..." (42 characters)
tokenId: Token ID to transfer (required)
Must be owned by sender
Format: string (not number for large IDs)
privateKey: Owner's private key (required)
Must own the token OR be approved operator
Format: "0x..." (64 hex characters)
EXAMPLES: ✅ Transfer NFT #42 to collector: {chain: "polygon", contractAddress: "0x7227E4D7...", to: "0x742d35Cc...", tokenId: "42", privateKey: "0xac0974..."}
✅ Transfer rare NFT on Ethereum: {chain: "ethereum", contractAddress: "0xBC4CA0E...", to: "0x8626f6940...", tokenId: "8762", privateKey: "0xac0974..."}
❌ Invalid - not token owner: {chain: "polygon", contractAddress: "0x7227E4D7...", to: "0x742d35Cc...", tokenId: "100", privateKey: "0xwrongkey..."}
❌ Invalid - zero address recipient: {chain: "polygon", contractAddress: "0x7227E4D7...", to: "0x0000000000000000000000000000000000000000", tokenId: "42", privateKey: "0xac0974..."}
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: Transfer confirmation • transactionHash: On-chain transaction hash • from: Previous owner address • to: New owner address • tokenId: Transferred token ID • gasUsed: Gas consumed in transaction
COMMON MISTAKES:
Not verifying ownership before transfer attempt
Transferring to contract without IERC721Receiver
Using wrong private key (not owner or approved)
Insufficient gas in wallet
Transferring to zero address
USE CASES:
Sell NFT to buyer after payment
Gift NFT to another wallet
Move NFT to cold storage
Transfer between own wallets
Execute marketplace sale
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
Inputs: to (required), chain (required), tokenId (required), privateKey (required), +1 more.
evm_transfer_tokenA
Transfer ERC20 tokens from your wallet to another address on any EVM chain.
Executes the ERC20 transfer() method, broadcasting transaction to blockchain. Requires gas payment in native token (ETH, POL, etc.) to execute. Amount is automatically converted to raw units using token decimals.
CRITICAL RULES:
Requires gas in native token (check balance with evm_get_balance first)
Amount is in human-readable units ("100" = 100 tokens, not raw units)
Sender must have sufficient token balance (check with evm_get_token_balance)
Transaction is irreversible once confirmed
Recipient address must be valid (use evm_validate_address to check)
Private key grants full control - NEVER share or log it
PARAMETERS:
chain: EVM chain to execute transaction on (required)
Must have gas in native token on this chain
Token must be deployed on this specific chain
Gas costs vary by chain (see CHAIN_GUIDANCE)
tokenAddress: ERC20 token contract address (required)
Format: 0x followed by 40 hex characters
Must be valid ERC20 contract on specified chain
Examples: USDC, USDT, DAI, WETH, custom tokens
toAddress: Recipient address (required)
Format: 0x followed by 40 hex characters
Can be EOA (user wallet) or contract address
VERIFY CAREFULLY - transactions are irreversible
amount: Amount to transfer in token units (required)
Human-readable format: "100" = 100 tokens
Automatically converted using token decimals
Examples: "100" (100 USDC), "0.5" (half token), "1000000"
privateKey: Sender's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must be key for address that holds tokens
Never expose, share, or log this value
EXAMPLES: ✅ Transfer 100 USDC on Polygon (low gas): {chain: "polygon", tokenAddress: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", toAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", amount: "100", privateKey: "0xac0974..."}
✅ Transfer 0.5 WETH on Arbitrum: {chain: "arbitrum", tokenAddress: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", toAddress: "0x...", amount: "0.5", privateKey: "0x..."}
✅ Transfer custom token on BSC: {chain: "bsc", tokenAddress: "0x...", toAddress: "0x...", amount: "1000", privateKey: "0x..."}
❌ Invalid - insufficient gas: {chain: "ethereum", ...} // No ETH for gas
❌ Invalid - insufficient token balance: {chain: "polygon", amount: "10000", ...} // Only have 100 USDC
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 transaction success • chain: Chain where transaction executed • transactionHash: Transaction hash (0x... - use to track on block explorer) • from: Sender address (derived from privateKey) • to: Recipient address • tokenAddress: Token contract address • amount: Amount transferred (formatted) • gasUsed: Gas consumed by transaction • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not checking sender has sufficient token balance first
Forgetting to have native token (ETH/POL) for gas
Using raw units instead of human-readable amount
Wrong recipient address (DOUBLE CHECK - irreversible)
Using token address from wrong chain
Not waiting for transaction confirmation
USE CASES:
Send tokens to another user or exchange
Transfer tokens between your own wallets
Pay for services or products with tokens
Distribute tokens to multiple recipients
Move tokens before depositing to DeFi protocol
TRANSACTION FLOW:
Check sender token balance (evm_get_token_balance)
Check sender has gas (evm_get_balance)
Estimate gas cost (evm_estimate_gas - optional)
Execute transfer (this tool)
Wait for confirmation (monitor transactionHash)
GAS REQUIREMENTS:
Token transfer typically costs 50,000-65,000 gas
Ethereum Sepolia: ~0.001-0.002 ETH
Polygon: ~0.00005 POL (very cheap)
BSC: ~0.0001 BNB
Arbitrum/Base: ~0.0001 ETH
SECURITY NOTES:
Verify recipient address carefully (no undo)
Never transfer to zero address (0x0000...0000)
Check token contract is legitimate
Start with small test amount on unfamiliar chains
Keep private keys secure and never share
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
Inputs: chain (required), amount (required), toAddress (required), privateKey (required), +1 more.
evm_unstake_lpA
Unstake LP tokens from yield farms, optionally claiming pending rewards.
Withdraws staked LP tokens from farming contracts back to wallet. Can simultaneously claim accumulated farming rewards or leave them unclaimed for later.
CRITICAL RULES:
Must have staked LP tokens to unstake
Requires gas in native token
Can claim rewards in same transaction
Unstaking stops reward accumulation
Transaction irreversible once confirmed
PARAMETERS:
chain: EVM chain to execute on (required)
Farm must be deployed on this chain
Requires gas in native token
protocol: Yield farming protocol (required)
Must match original staking protocol
Examples: "uniswap", "sushiswap", "curve"
amount: Amount of LP tokens to unstake (required)
Human-readable format: "100" = 100 LP tokens
Must have sufficient staked balance
Use "max" or full amount to unstake all
privateKey: Transaction signer's private key (required, KEEP SECRET)
Must be address that staked LP tokens
Never expose, share, or log
poolId: Pool/Farm ID (optional)
Required for protocols with multiple farms
Must match original staking poolId
claimRewards: Also claim pending rewards (optional, default: true)
true: Withdraw LP tokens AND claim rewards
false: Just withdraw LP tokens, leave rewards
EXAMPLES: ✅ Unstake LP tokens and claim rewards: {chain: "polygon", protocol: "sushiswap", amount: "100", privateKey: "0xac0974...", poolId: 0, claimRewards: true}
✅ Unstake without claiming rewards: {chain: "ethereum", protocol: "curve", amount: "50.5", privateKey: "0x...", claimRewards: false}
✅ Emergency unstake all: {chain: "bsc", protocol: "pancakeswap", amount: "max", privateKey: "0x...", poolId: 12}
❌ Invalid - insufficient staked balance: {amount: "1000"} // Only have 100 LP tokens staked
❌ Invalid - wrong poolId: {chain: "polygon", protocol: "sushiswap", amount: "100", privateKey: "0x...", poolId: 99} // Pool doesn't exist
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 unstaking success • transactionHash: Transaction hash for tracking • lpTokenUnstaked: Amount of LP tokens withdrawn • rewardsClaimed: Rewards claimed (if claimRewards=true) • remainingStaked: Remaining staked balance • gasUsed: Gas consumed • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not having gas for transaction
Wrong poolId for farm
Unstaking when better to compound
Emergency withdraw loses pending rewards
Not tracking unstaked LP tokens
USE CASES:
Exit farming position
Rebalance across farms
Withdraw liquidity
Take profits from farming
Move to better yield opportunities
SUPPORTED PROTOCOLS:
Uniswap: V2 and V3 farming
SushiSwap: MasterChef farms
Curve: Gauge staking
QuickSwap: Dragon's Lair
TraderJoe: MasterChef farms
PancakeSwap: Syrup pools
And more (see evm_stake_lp for full list)
WITHDRAWAL METHODS:
withdraw(poolId, amount): Standard withdrawal + rewards
exit(): Withdraw all + claim all rewards
unstake(amount): Just unstake, no rewards
emergencyWithdraw(poolId): Forfeit rewards, just get LP tokens
GAS COSTS:
Simple unstake: 80,000-100,000 gas
Unstake + claim: 120,000-150,000 gas
Ethereum Sepolia: ~0.002-0.003 ETH
Polygon: ~0.00005 POL
BSC: ~0.0001 BNB
REWARDS HANDLING:
claimRewards=true: Transfers rewards to wallet
claimRewards=false: Rewards stay in farm (claim later)
Emergency withdrawal: Forfeits all pending rewards
TIMING CONSIDERATIONS:
Check reward amount before unstaking
Consider gas costs vs reward value
May want to compound before unstaking
Some farms have unstaking cooldowns
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
Inputs: chain (required), amount (required), protocol (required), privateKey (required), +2 more.
evm_upload_image_to_ipfsB
Upload image to IPFS and get back IPFS hash and URI.
Uploads image file to IPFS using Pinata. Supports both URLs and local file paths. Returns IPFS hash, URI, and gateway URL for the uploaded image.
CRITICAL RULES:
Requires PINATA_API_KEY in environment
One of imageUrl or imagePath required
Returns IPFS hash usable in metadata
PARAMETERS:
imageUrl: Image URL (optional)
imagePath: Local file path (optional)
ipfsApiKey: Override API key (optional)
EXAMPLES: ✅ Upload from URL: {imageUrl: "https://example.com/art.png"} ✅ Upload local file: {imagePath: "/Users/me/art.jpg"}
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: • ipfsHash: IPFS CID • uri: ipfs://... format • gatewayUrl: Public URL
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
Inputs: imageUrl, imagePath, ipfsApiKey.
evm_validate_addressA
Validate Ethereum address format, checksum, and determine if it's a contract or EOA.
Performs comprehensive address validation including format checking, EIP-55 checksum verification, and on-chain contract detection. Essential for preventing transaction errors.
CRITICAL RULES:
Address MUST be 42 characters (0x + 40 hex digits)
Validates EIP-55 checksum if provided (mixed case)
Distinguishes between Externally Owned Accounts (EOA) and contracts
Returns validation status even for invalid addresses (doesn't throw)
PARAMETERS:
chain: EVM chain to check contract status (required)
Contract detection requires chain query
Same address may be EOA on one chain, contract on another
Validation format rules are universal across chains
address: Ethereum address to validate (required)
Format: 0x followed by 40 hexadecimal characters
Can be lowercase, uppercase, or mixed case (checksummed)
Examples: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" (checksummed)
EXAMPLES: ✅ Validate checksummed address: {chain: "ethereum", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
✅ Check if address is contract: {chain: "polygon", address: "0x1234567890123456789012345678901234567890"}
✅ Validate lowercase address: {chain: "bsc", address: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"}
❌ Invalid - wrong length: {chain: "ethereum", address: "0x1234"}
❌ Invalid - missing 0x prefix: {chain: "polygon", address: "742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}
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 • valid: Boolean - is address format valid? • checksumValid: Boolean - does checksum match? (null if all lowercase/uppercase) • isContract: Boolean - is this a contract address? • address: Original input address • checksummedAddress: Properly checksummed version (EIP-55) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not checking both "valid" and "isContract" fields
Assuming checksum validation failure means invalid address
Forgetting addresses can be contracts on some chains but not others
Not using checksummed addresses in user interfaces
USE CASES:
Validate user input before sending transactions
Distinguish between wallet addresses and contract addresses
Verify address checksums for security
Convert addresses to proper EIP-55 format
Prevent sending tokens to wrong address types
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
Inputs: chain (required), address (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 113 tools
Many tools overlap heavily: multiple gas tools (evm_get_gas_oracle, evm_get_gas_price, evm_estimate_fees, evm_get_base_fee, evm_get_priority_fee), account tools (evm_get_account_info vs evm_get_wallet_info vs evm_get_balance), and contract-call tools (evm_call vs evm_call_contract). There are also near-duplicates such as evm_encode_contract_data vs evm_encode_function_data and evm_resolve_ens vs evm_reverse_ens_lookup, making misselection likely despite generally detailed descriptions.
Tool names consistently use the evm_ prefix and snake_case with predictable verb_noun forms such as evm_get_balance, evm_send_transaction, evm_approve_token, and evm_deploy_nft. Minor outliers like evm_call or evm_multicall still fit the overall convention and do not create naming confusion.
With 113 tools, the server is far beyond a well-scoped set and includes many redundant, placeholder, or niche operations. This extreme count makes discovery and selection burdensome even for a broad EVM domain, and it clearly exceeds the typical 3-15 tool range.
The surface covers a very broad EVM domain: wallets, balances, tokens, NFTs, DeFi swaps/liquidity, bridges, analytics, governance, and MEV-related tools. There are notable soft spots such as placeholder ABI retrieval, placeholder farming/liquidity tools, and no true full transaction-history API, but agents can generally work around these via explorers or manual flows.
Maintenance
Related MCP Connectors
ERC-8004 agent identity, on-chain subscriptions, reputation, A2A tasks and chat over 53 tools.
Verified EVM, Aptos and finance tools for AI agents; gas for 14 chains. Pay per call (x402).
AI Agent Utility Layer for agent safety, web monitoring, crypto research and tool discovery.
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive toolkit for building AI agents with blockchain capabilities, enabling interactions with multiple blockchain networks for tasks like wallet management, fund transfers, smart contract interactions, and cross-chain asset bridging.5GPL 3.0
- FlicenseCqualityBmaintenanceEnables AI agents to interact with any EVM-compatible blockchain through natural language, supporting token swaps, cross-chain bridges, staking, lending, governance, gas optimization, and portfolio tracking across networks like Ethereum, BSC, Polygon, Arbitrum, and more.10041 npm44-
- AlicenseAqualityDmaintenanceDescription: EVM blockchain intelligence toolkit for AI agents. 20 tools for token prices, gas comparison, swap quotes, yield rates, honeypot detection, and transaction simulation across 5 EVM chains. Zero config, no API keys required.2676 npm3MIT

Bink MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform blockchain operations like wallet management, token info, DeFi swaps, cross-chain bridging, and price checking across Ethereum, BNB Chain, and Solana.ISC