# Snowtrace MCP for AI Agents AI Agent Connect

> Snowtrace (Avalanche Explorer) lets your AI agent pull real-time data from the Avalanche C-Chain. Check AVAX balances, track ERC-20 and NFT transfers, and inspect smart contract source code or ABIs without switching tabs. It brings on-chain transparency directly into your chat.

## Overview
- **Category:** databases
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_UQ8x3BXiwXGRB59M7rAOlehoT6KoATJU1oGV52mD/ai-agent-connect
- **Tags:** avalanche-blockchain, block-explorer, smart-contracts, crypto-analytics, transaction-tracking, web3

## Description

Snowtrace (Avalanche Explorer) connects your AI agent to the Avalanche blockchain so you can query live data without hunting through explorer websites. Instead of manual searching, you can ask your agent to pull specific wallet balances or check the status of a recent transaction. It handles everything from fetching contract source code to monitoring token transfers across the network. If you're trying to audit a protocol or track a specific asset's movement, this Connector does the heavy lifting by pulling the raw data into your conversation. You can see total supplies, block rewards, and price updates instantly. It's a way to make your AI more aware of what's happening on-chain right now. You'll find it easy to set up through the Vinkius catalog, where it sits alongside other blockchain tools to give your agent a broader view of the Web3 space. Whether you're debugging a smart contract or just want to see your portfolio's latest movements, this tool puts the Avalanche C-Chain data at your fingertips.

## Tools

### get_avax_balance
Check the current AVAX balance for a specific wallet address. It provides a quick snapshot of a single account.

### check_verify_status
See if a smart contract's source code has been verified on the explorer. This is useful for security checks.

### get_avax_last_price
Pull the most recent price for AVAX directly from the blockchain. It gives you live market data in your chat.

### get_avax_total_supply
Find out the total amount of AVAX currently in circulation. This helps with high-level network analysis.

### get_contract_abi
Retrieve the Application Binary Interface for a specific smart contract. Use this to see all available functions.

### get_block_countdown
See how many seconds are left until the next block is mined. This helps you understand the current network speed.

### get_block_number_by_time
Find the specific block number associated with a given timestamp. This is perfect for looking up historical data.

### get_block_reward
Check the rewards distributed for a specific block. Use this to analyze miner incentives.

### get_logs
Pull the event logs for a specific smart contract. This is essential for tracking specific on-chain events.

### get_contract_source_code
Fetch the actual source code of a verified smart contract. This allows for deep auditing of protocol logic.

### get_avax_balance_multi
Get the AVAX balance for up to 20 different addresses in one go. This saves time when checking multiple wallets.

### get_mined_blocks
List all blocks mined by a specific wallet address. This helps identify the activity of specific validators.

### check_contract_execution_status
See if a contract is currently executing or finished. Use this to monitor active smart contract interactions.

### check_transaction_receipt_status
Verify if a transaction was successful or failed. This gives you immediate confirmation of your on-chain actions.

### get_token_balance
Check the balance of a specific ERC-20 token for an address. This is the standard way to see token holdings.

### get_erc721_transfers
Track the movement of NFTs across the Avalanche network. This lets you monitor specific collections in real-time.

### get_token_total_supply
Find the total supply of a specific ERC-20 token. Use this to check the scarcity of a new project.

### get_erc20_transfers
List the recent transfer history for a specific ERC-20 token. This helps you see how a token is circulating.

### get_internal_transactions
View the internal transactions that occur between contracts. This is key for tracing complex DeFi interactions.

### get_normal_transactions
List the standard transactions initiated by a specific wallet. This provides a clear history of a user's activity.

### verify_source_code
Check if the source code for a contract is valid and verified. Use this to ensure you are interacting with a legitimate protocol.

## Prompt Examples

**Prompt:** 
```
What's the current price of AVAX and how many are in circulation?
```

**Response:** 
```
The current price of AVAX is **$92.45**. 

**Network Stats:**
*   **Total Supply:** ~145,320,000 AVAX
*   **Last Price:** $92.45
*   **Status:** Active on Avalanche C-Chain
```

**Prompt:** 
```
Can you show me the last 5 transactions for 0x123...?
```

**Response:** 
```
Here are the 5 most recent transactions for that wallet:

| Type | Amount | Status |
| :--- | :--- | :--- |
| AVAX Transfer | 1.2 AVAX | ✅ Success |
| ERC-20 | 500 USDC | ✅ Success |
| Internal | N/A | ✅ Success |
| AVAX Transfer | 0.5 AVAX | ✅ Success |
| ERC-20 | 1000 USDC | ❌ Failed |
```

**Prompt:** 
```
Get the ABI for the contract at 0xabc...
```

**Response:** 
```
I've retrieved the ABI for that contract. It includes **15 functions**, including:

*   `deposit()`
*   `withdraw()`
*   `getRate()`

Let me know if you want me to explain any of these or help you format a call.
```

## Capabilities

### Pull multi-address balances
Get the AVAX balance for up to 20 different addresses in one go.

### Check a single wallet balance
Find out the current AVAX balance for a specific wallet address.

### Fetch contract source code
Retrieve the actual source code of a verified smart contract.

### Track ERC-20 token transfers
List the recent transfer history for a specific ERC-20 token.

### Monitor NFT movements
Track the movement of ERC-721 NFTs across the Avalanche network.

### Get smart contract ABIs
Fetch the ABI for a specific contract to see its functions.

### Get real-time AVAX price
Pull the most recent price for AVAX directly from the blockchain.

## Use Cases

### Debugging a failed swap
A developer asks the agent to check the execution status and logs of a failed swap. The agent uses check_contract_execution_status and get_logs to find the error.

### Tracking whale movements
A user wants to see the last 10 NFT transfers for a specific whale wallet. The agent uses get_erc721_transfers to pull the data instantly.

### Market research for new tokens
An analyst asks for the total supply and last price of a new ERC-20 token. The agent uses get_token_total_supply and get_avax_last_price.

### Security auditing of a protocol
A security researcher pulls the ABI and source code of a protocol to check for vulnerabilities. The agent uses get_contract_abi and get_contract_source_code.

## Benefits

- Stop switching tabs by pulling AVAX balances and token totals directly into your chat using get_avax_balance_multi.
- Audit smart contracts faster by fetching verified source code and ABIs with get_contract_source_code.
- Track portfolio movements by monitoring ERC-20 and NFT transfers with get_erc20_transfers.
- Debug transactions instantly by checking receipt statuses and internal logs via check_transaction_receipt_status.
- Get instant network stats like block rewards and total supply without manual searching on a website.
- Handle bulk data requests for multiple addresses at once to speed up your research workflow.

## How It Works

The bottom line is you get live Avalanche blockchain data inside your AI chat without leaving your workspace.

1. Subscribe to the Snowtrace MCP in the Vinkius marketplace.
2. Add your Snowtrace API Key to the configuration.
3. Ask your AI client to check balances or transaction statuses.

## Frequently Asked Questions

**Can I use Snowtrace MCP to check my Avalanche wallet balance?**
Yes, you can ask your agent to pull the AVAX balance for any specific wallet address instantly. It provides real-time data directly from the Avalanche C-Chain.

**Does Snowtrace MCP support NFT transfers?**
Yes, it can track ERC-721 transfers, making it easy to monitor NFT movements across the Avalanche network using natural language.

**Can I see the source code of a contract with Snowtrace MCP?**
If the contract is verified on Snowtrace, your agent can fetch the source code and the ABI for you. This is great for security audits or developer debugging.

**How many addresses can I check at once?**
You can use the multi-balance tool to check up to 20 different addresses in a single request. This is much faster than checking them one by one.

**Is this Connector for the Avalanche C-Chain only?**
Yes, this Connector is specifically designed to interact with the Avalanche blockchain. It won't work for other chains like Ethereum or BSC.

**Can I see internal transactions?**
Yes, the Connector can pull internal transactions, which are useful for seeing how tokens move between different smart contracts.

**Can I check the balance of multiple Avalanche addresses at once?**
Yes. Use the `get_avax_balance_multi` tool and provide a comma-separated list of up to 20 addresses to get all balances in a single response.

**How do I track specific token movements like USDT or NFTs?**
You can use `get_erc20_transfers` for standard tokens or `get_erc721_transfers` for NFTs. You can filter by wallet address or specific contract address to narrow down the results.

**Is it possible to see the source code of a verified contract?**
Absolutely. The `get_contract_source_code` tool retrieves the verified Solidity source code and metadata for any contract address that has been verified on Snowtrace.