# Tatum Blockchain Infra MCP

> Tatum (Blockchain Infra) lets you manage complex blockchain operations using natural language. Estimate transaction fees, track crypto portfolios across multiple chains, and monitor real-time event streams without writing boilerplate code. Connect your AI agent to get live data on gas costs, asset balances, and exchange rates from 40+ protocols.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Tags:** web3, blockchain-infrastructure, gas-estimation, portfolio-tracking, evm, decentralized-apps

## Description

Managing modern decentralized applications means juggling constant data feeds: checking gas limits, tracking token movements, and knowing current fiat rates. This MCP connects your AI agent directly to Tatum's infrastructure, letting you handle all that complexity through conversation. Instead of jumping between multiple dashboards or writing complex API calls just to check a balance, you ask your agent what you need, and it handles the rest. You can easily estimate costs for transactions using recommended fee tools and track entire wallet portfolios across native assets, ERC-20 tokens, and NFTs—all in one chat. When you're building something that needs constant event monitoring, you don't have to set up webhooks manually; your agent manages those subscriptions for you. Vinkius makes connecting this powerful data source simple, letting any MCP-compatible client give you deep visibility into the blockchain ecosystem.

## Tools

### cancel_subscription
Stops a previously set up real-time webhook subscription.

### create_subscription
Sets up a new real-time webhook subscription for monitoring blockchain events.

### create_virtual_account
Generates an off-chain ledger account number for transactions.

### estimate_evm_gas
Calculates the expected gas limit and price for EVM compatible transactions.

### estimate_transaction_fee
Provides a calculated estimate of the total fee required for a specific transaction type.

### get_exchange_rate
Retrieves the current trading rate between any two crypto or fiat assets.

### get_recommended_fee
Offers suggestions for optimal transaction fees based on a specified blockchain network.

### get_transaction_history
Fetches the complete list of historical transactions associated with an address.

### get_virtual_account_balance
Checks the current balance held within a virtual account.

### get_wallet_portfolio
Aggregates and displays the total balances of all assets (native, ERC-20, NFT) in a wallet.

### list_subscriptions
Shows all currently active webhook subscriptions that are monitoring blockchain activity.

## Prompt Examples

**Prompt:** 
```
What are the recommended fees for a transaction on Ethereum right now?
```

**Response:** 
```
I've retrieved the current fee suggestions for ETH: Fast: 25 Gwei, Standard: 20 Gwei, Slow: 15 Gwei. Would you like to estimate the total cost for a specific transfer amount?
```

**Prompt:** 
```
Show me the portfolio for address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Polygon.
```

**Response:** 
```
Checking the Polygon network... This address holds 15.5 MATIC, 250 USDC (ERC-20), and 2 NFTs from the 'Polygon Punks' collection. Do you need the transaction history for these assets?
```

**Prompt:** 
```
What is the current exchange rate from BTC to USD?
```

**Response:** 
```
The current exchange rate is 1 BTC = 64,250.50 USD. Would you like to check the rate for another pair or calculate a specific conversion?
```

## Capabilities

### Estimate Transaction Costs
Calculate recommended fees or estimate gas limits and prices for EVM transactions.

### View Wallet Balances
Retrieve current asset holdings, including native coins, ERC-20 tokens, and NFTs, across specified addresses.

### Manage Blockchain Events
Create, list, or cancel real-time webhook subscriptions for incoming or outgoing transactions.

### Check Transaction History
Pull detailed records of past activity for any given blockchain address.

### Get Market Rates
Find live exchange rates between cryptocurrencies and fiat currencies.

## Use Cases

### Debugging a Gas Issue
A developer needs to deploy a contract but the gas estimate is too high. They ask their agent: 'What's the recommended fee for Ethereum right now?' The agent uses `get_recommended_fee` and provides three options (fast, standard, slow), allowing the dev to adjust code parameters immediately.

### Quarterly Portfolio Review
A DeFi analyst needs a comprehensive view of all holdings across multiple chains. They prompt their agent to run `get_wallet_portfolio` on a single address and get an immediate, aggregated list of tokens and NFTs.

### Setting up Alerting
An operations team member needs to know when a specific type of transaction hits the network. They use `create_subscription` via their agent, specifying the event criteria, so they get instant notifications without manual monitoring.

### Comparing Asset Values
A client wants to liquidate some assets but needs to know the current USD value of several different tokens. They ask for the exchange rate and the agent uses `get_exchange_rate` to provide immediate, actionable figures.

## Benefits

- Know the true cost of transactions instantly. Use `get_recommended_fee` or `estimate_evm_gas` to check gas limits before you submit code, saving time and preventing failed deployments.
- Maintain a complete financial picture with `get_wallet_portfolio`. This single tool gathers balances for native coins, ERC-20 tokens, and NFTs across addresses, so you never have to jump between multiple wallet interfaces.
- Automate monitoring flows. Instead of logging into a dashboard every five minutes, use the subscription tools (`create_subscription`, `list_subscriptions`) to keep your AI agent updated on incoming events automatically.
- Stay current on market value. Use `get_exchange_rate` to instantly convert any crypto pair or fiat currency rate directly in conversation, making financial analysis fast and fluid.
- Audit activity with precision. Run the `get_transaction_history` tool to pull detailed records for any address, letting you trace asset movement back months without digging through multiple explorers.

## How It Works

The bottom line is you get conversational access to complex, live blockchain data without writing any boilerplate code.

1. Subscribe to this MCP on Vinkius and enter your Tatum API Key.
2. Your AI client uses natural language prompts to determine the required blockchain operation (e.g., 'What is the balance for X?').
3. The MCP executes the necessary tool calls, retrieves real-time data from the blockchain, and presents a clear answer back to your agent.

## Frequently Asked Questions

**How do I check if my transaction will fail using Tatum (Blockchain Infra)?**
You should use `estimate_evm_gas` or `get_recommended_fee`. These tools calculate the expected gas limit and price, helping you preemptively identify potential cost issues before deployment.

**Can Tatum (Blockchain Infra) track NFT balances?**
Yes. The `get_wallet_portfolio` tool is designed to aggregate not just currency balances, but also show your holdings of NFTs alongside other assets.

**What if I need continuous alerts for my contract? Use Tatum (Blockchain Infra).**
You can set up permanent monitoring using `create_subscription`. This establishes a webhook that sends real-time data to your agent whenever an event matching your criteria occurs.

**Is this MCP for all blockchains?**
No, it focuses on connecting the core infrastructure details across supported chains. However, its ability to track and estimate fees gives you broad visibility into multi-chain operations.

**How do I find out the current crypto value of my holdings using Tatum (Blockchain Infra)?**
Run `get_exchange_rate` with your agent. It fetches live rates between various cryptocurrencies and fiat currencies, giving you an immediate valuation.