# GetBlock (Web3 RPC Provider) MCP

> GetBlock (Web3 RPC Provider) gives your AI agent direct, high-performance access to over 50 major blockchain networks. Query everything from Ethereum and Solana balances to raw Bitcoin transaction details using specialized tools like `eth_get_balance` or `btc_getblockchaininfo`. It lets you read the entire state of a chain simply by asking your client a question.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Tags:** rpc-nodes, web3, blockchain-infrastructure, ethereum, solana, crypto-data, api-integration

## Description

Need to understand what's happening on-chain? This MCP connects your AI agent directly to dozens of blockchain protocols, giving it real-time data feeds for Ethereum, Solana, Bitcoin, and many others. Instead of building complex API wrappers or juggling multiple node endpoints, you just let your client ask the questions. It handles all the heavy lifting, whether you need a simple balance check (`sol_get_balance`) or deep debugging traces on a smart contract. Because Vinkius hosts this MCP, you connect once and instantly gain access to these specialized crypto tools, making complex blockchain data available through natural conversation.

## Tools

### btc_analyzepsbt
Analyzes a Partially Signed Bitcoin Transaction (PSBT) to provide necessary information.

### btc_createpsbt
Generates the structured data needed for a partially signed Bitcoin transaction.

### btc_getbestblockhash
Fetches the hash identifier of the current, most advanced block on the Bitcoin chain.

### btc_getblockcount
Retrieves the total number of blocks recorded in the longest Bitcoin blockchain history.

### btc_getblockchaininfo
Gathers comprehensive status details about the entire Bitcoin network structure and state.

### btc_sendrawtransaction
Submits raw, hex-encoded transaction data directly to a local node and the wider network.

### debug_trace_block_by_number
Provides a full execution trace for every single transaction contained within a specified block number.

### debug_trace_call
Simulates and provides an execution trace when calling a function (eth_call) on the blockchain context.

### debug_trace_transaction
Generates a complete, step-by-step execution path for any given transaction signature.

### eth_accounts
Lists all public wallet addresses that are currently associated with your client's credentials.

### eth_block_number
Gets the number of the most recently confirmed block on the Ethereum network.

### eth_call
Runs a function call immediately without spending funds or creating an actual transaction.

### eth_estimate_gas
Calculates the precise amount of gas needed for a proposed Ethereum transaction to complete successfully.

### eth_get_balance
Returns the current Ether balance associated with a specific Ethereum wallet address.

### eth_get_block_by_hash
Fetches all information related to an entire block using its unique hash identifier.

### eth_get_block_by_number
Retrieves the detailed data for a specific Ethereum block number.

### eth_get_code
Pulls the compiled smart contract code associated with any given address.

### eth_get_transaction_by_hash
Retrieves all metadata for a transaction when you know its unique hash identifier.

### eth_get_transaction_receipt
Gets the official receipt from an Ethereum transaction, confirming execution details and status.

### rpc_call
Allows you to execute any general JSON-RPC method supported by the GetBlock nodes directly through your agent.

### sol_get_account_info
Retrieves all associated account metadata for a specific public key on the Solana network.

### sol_get_balance
Checks the available native SOL balance for any given Solana wallet address.

### sol_get_latest_blockhash
Gets the current block hash required to validate transactions on the Solana ledger.

### sol_get_token_account_balance
Determines the token balance for a specific SPL Token account address on Solana.

### sol_get_transaction
Retrieves full details and confirmation status for a submitted Solana transaction signature.

### sol_send_transaction
Submits a signed transaction to the Solana cluster, initiating its processing across the network.

## Prompt Examples

**Prompt:** 
```
What is the current Ethereum block height?
```

**Response:** 
```
The most recent Ethereum block number is 19283746 (0x1263FBA).
```

**Prompt:** 
```
Check the ETH balance for address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e.
```

**Response:** 
```
The balance for that address is 1.25 ETH.
```

**Prompt:** 
```
Get the latest Bitcoin blockchain info.
```

**Response:** 
```
I've retrieved the Bitcoin network status: Current blocks: 832104, Difficulty: 75.73T, Network Hashrate: 580.21 EH/s.
```

## Capabilities

### Check account balances across multiple chains
Determine the native coin or token holdings for any address on supported networks using specific balance retrieval tools.

### Inspect block and network metadata
Fetch current block numbers, difficulty metrics, and general chain status information from various blockchains.

### Analyze transaction history in depth
Retrieve full details for transactions by hash, including receipts, gas estimates (`eth_estimate_gas`), or detailed execution traces.

### Build and submit raw Bitcoin transactions
Create partially signed Bitcoin transaction formats (PSBT) and submit them as raw hex-encoded data to the network for processing.

### Execute generic RPC calls
Run virtually any standard JSON-RPC method supported by the GetBlock nodes using the `rpc_call` tool.

## Use Cases

### Auditing a DeFi contract interaction
A user needs to know if a specific smart contract call succeeded or failed. They ask their agent, which uses `debug_trace_transaction` on the transaction hash, providing a full breakdown of state changes and gas usage.

### Comparing cross-chain asset values
A researcher needs to compare an address's ETH balance versus its SOL balance. The agent calls both `eth_get_balance` and `sol_get_balance`, returning a unified view of the assets across different chains.

### Verifying blockchain network health
An analyst needs quick, current stats on Bitcoin's overall size. The agent calls `btc_getblockchaininfo` to get difficulty and block count instantly, rather than navigating multiple explorer dashboards.

### Modeling a new token transfer
A developer wants to see if sending funds will cost too much gas before writing code. They use `eth_estimate_gas` first, confirming the budget before running any actual transaction tools like `sol_send_transaction`.

## Benefits

- Eliminate manual data fetching. Instead of opening 5 different tabs to check Ethereum, Solana, and Bitcoin stats, you ask your agent directly for the `eth_get_balance` or `sol_get_balance`, and it handles the complexity.
- Deep contract inspection becomes easy. If a transaction fails, don't guess why. Use `debug_trace_transaction` to get the full execution path and pinpoint the exact line of faulty code.
- Stay ahead with real-time block data. Get the latest Ethereum block height using `eth_block_number` or track Bitcoin progress instantly via `btc_getbestblockhash`, making your reports current.
- Build complex transaction logic without writing boilerplate API calls. Use the versatile `rpc_call` tool to execute any standard JSON-RPC method, giving you maximum flexibility for niche queries.
- Handle raw data submissions accurately. Need to move funds or create a specialized BTC transfer? Use `btc_createpsbt` and then submit it with `btc_sendrawtransaction` through the MCP.

## How It Works

The bottom line is you get reliable, multi-chain blockchain intelligence delivered directly into your AI workflow without writing a single wrapper function.

1. Subscribe to this MCP and provide your unique GetBlock Access Token (API Key) to your AI client.
2. Your agent identifies the blockchain network and data points needed, then executes specific tools like `eth_get_balance` or `sol_get_account_info`.
3. The MCP processes the request through the high-performance RPC nodes and returns structured, actionable JSON data that your agent can interpret.

## Frequently Asked Questions

**How do I check an Ethereum balance using GetBlock (Web3 RPC Provider) MCP?**
You use the `eth_get_balance` tool. You simply provide the target address, and the MCP returns the current Ether balance in a readable format.

**Can I debug smart contracts with GetBlock (Web3 RPC Provider) MCP?**
Yes, you can. Use `debug_trace_transaction` to get a complete execution trace for any transaction hash, showing exactly how the contract ran and where it might have failed.

**What is the difference between `eth_call` and sending a real transaction?**
`eth_call` executes a message immediately without spending gas or creating a permanent record. It's purely for checking contract logic, while tools like `sol_send_transaction` actually push funds to the network.

**Does GetBlock (Web3 RPC Provider) MCP support Bitcoin transactions?**
Yes. You can use specialized Bitcoin tools such as `btc_createpsbt` to build transactions and then submit them with `btc_sendrawtransaction`.

**What if I need a function not listed in the tools? Can GetBlock (Web3 RPC Provider) MCP handle it?**
The `rpc_call` tool acts as a catch-all. If you know the standard JSON-RPC method, you can execute virtually any other supported command through this single tool.