Free Base Blockchain Tools
13 free Base tools: address labels, tx explain, balances, receipts, gas, logs, bytecode.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"free-blockchain": {
"url": "https://agentsapi.top/free-blockchain/"
}
}
}远程端点
https://agentsapi.top/free-blockchain/streamable-http它能做什么
工具清单
工具(13)
🟢get_block_number
Get the current latest block number on Base
输入模式
{
"type": "object",
"properties": {}
}🟢get_gas_price
Get current gas price on Base
输入模式
{
"type": "object",
"properties": {}
}🟢get_balance(address)
Get ETH balance of an address on Base
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "EVM address (0x + 40 hex)"
}
},
"required": [
"address"
]
}🟢get_transaction(tx_hash)
Get transaction details by hash on Base
输入模式
{
"type": "object",
"properties": {
"tx_hash": {
"type": "string",
"description": "Transaction hash (0x + 64 hex)"
}
},
"required": [
"tx_hash"
]
}🟢get_address_label(address)
Get a human-readable label for an EVM address (100K+ entity labels: exchanges, bridges, protocols, scams). FREE, no payment required.
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "EVM address (0x + 40 hex)"
}
},
"required": [
"address"
]
}🟢get_usdc_balance(address)
Get USDC balance of an address on Base (stablecoin balance, more useful than ETH for most agents)
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "EVM address (0x + 40 hex)"
}
},
"required": [
"address"
]
}🟢explain_transaction_simple(tx_hash)
Explain a transaction in plain English: who sent what to whom, with address labels. FREE simplified version of our premium explain tool.
输入模式
{
"type": "object",
"properties": {
"tx_hash": {
"type": "string",
"description": "Transaction hash (0x + 64 hex)"
}
},
"required": [
"tx_hash"
]
}🟢search_labels_by_category(category)
Search all labeled addresses by category (e.g. exchange, bridge, protocol, scam). Returns up to 50 matches.
输入模式
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Category to search: exchange, bridge, protocol, scam, nft, defi, other"
}
},
"required": [
"category"
]
}🟢get_transaction_receipt(tx_hash)
Get transaction receipt by hash: success/failure status, gas used, logs. Useful for checking if a tx succeeded.
输入模式
{
"type": "object",
"properties": {
"tx_hash": {
"type": "string",
"description": "Transaction hash (0x + 64 hex)"
}
},
"required": [
"tx_hash"
]
}🟢get_block_by_number(block_number)
Get block details by block number: timestamp, miner, transaction count, gas used.
输入模式
{
"type": "object",
"properties": {
"block_number": {
"type": "string",
"description": "Block number (decimal)"
}
},
"required": [
"block_number"
]
}🟢get_contract_logs(contract_address, from_block, to_block)
Get event logs from a contract in a block range. Useful for tracking transfers, approvals, etc.
输入模式
{
"type": "object",
"properties": {
"contract_address": {
"type": "string",
"description": "Contract address (0x + 40 hex)"
},
"from_block": {
"type": "string",
"description": "Start block number (decimal)"
},
"to_block": {
"type": "string",
"description": "End block number (decimal)"
}
},
"required": [
"contract_address",
"from_block",
"to_block"
]
}🟢estimate_gas(from, to, value)
Estimate gas needed for a transaction. Useful for dapps and wallets to show users how much gas they'll pay.
输入模式
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Sender address (0x + 40 hex)"
},
"to": {
"type": "string",
"description": "Recipient address (0x + 40 hex)"
},
"value": {
"type": "string",
"description": "ETH value to send (in wei, hex)"
}
},
"required": [
"from",
"to"
]
}🟢get_contract_code(address)
Get contract bytecode at an address. Useful for checking if an address is a contract or a wallet.
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "EVM address (0x + 40 hex)"
}
},
"required": [
"address"
]
}社区
证据