Base Onchain Tools

dev.workers.dolerite.base-onchain-tools由 base-onchain-tools.dolerite.workers.dev 發布官方發布者v1.0.0更新於 Oct 24, 2026

Base mainnet analysis: contract audits, transfer simulation, token pricing. Paid via x402.

已驗證Streamable HTTP可網頁執行金融安全與監控

概覽

AI 產生的概覽

面向 Base 主網的遠端 MCP 伺服器:合約稽核、地址與交易查核、代幣定價、Gas 與資產組合查詢,按次以 USDC 付費。

可以做什麼
稽核與辨識合約:反組譯未驗證位元碼,偵測 ERC-20/721/1155 類型與代理,並提供固定地址的 Base USDC 免費示範稽核。查核地址與交易:區分合約與 EOA、查詢餘額與轉出交易數,以及確認數、最終性和 ERC-20 轉帳明細。讀取代幣資料:中繼資料、授權額度,以及透過 Uniswap V3 池或 Chainlink 價格來源取得任意 Base 代幣的美元價格。查詢 Gas 與模擬轉帳:即時 Gas 預言機、轉帳成本估算,以及不消耗 Gas 的失敗原因解析。查詢資產組合:一次呼叫取得最多 20 個地址的 ETH 與 USDC 餘額。
適用情境
適合在向 Base 地址轉帳前查核地址、確認交易、查詢代幣價格,或了解未驗證合約實際能做什麼時使用。免費示範工具可先查看付費工具的輸出形式,再決定是否付費。
執行需求
遠端 streamable HTTP 端點;未宣告本機執行環境、帳戶或 API 金鑰。付費工具需透過 Base 上的 x402 以 USDC 支付,因此需要能完成 x402 付款且有餘額的錢包。需要網路存取該端點及 Base 主網資料。
安裝前請注意
多數工具按次以 USDC 收費,每次 0.001 至 0.003 美元;呼叫付費工具會回傳付款要求,並聲明失敗呼叫不計費。支付涉及錢包和 Base 上的真實資金。結果僅為唯讀分析,不構成財務建議,且依賴第三方鏈上資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Base Onchain Tools,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.workers.dolerite.base-onchain-tools%2Fbase-onchain-tools/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "base-onchain-tools": {
      "type": "http",
      "url": "https://base-onchain-tools.dolerite.workers.dev/mcp"
    }
  }
}

工具

12

base_demo

Free. Returns a complete, live contract audit of Base USDC — the same output shape as the paid audit tool, with the address fixed. Call this first to see what the paid tools return before spending anything.

無需輸入參數。

base_address_check

Pre-flight check on a Base mainnet address before you pay it: contract vs EOA, ETH and USDC balances, outbound tx count, and warnings about whether funds sent there can actually be moved. Costs $0.002 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數address必填

base_tx_check

Confirm a Base mainnet transaction: success or reverted, block, confirmations and finality, gas used, and every ERC-20 transfer it moved with USDC amounts decoded. Costs $0.002 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數hash必填

base_token

ERC-20 token metadata on Base mainnet: name, symbol, decimals and total supply, read straight from the contract. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數address必填

base_gas

Live Base mainnet gas oracle: current gas price, base fee, recent base fee trend, priority fee percentiles, and the estimated cost of a plain ERC-20 transfer in ETH. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

無需輸入參數。

base_price

ETH/USD and BTC/USD read live from Chainlink's on-chain price feeds on Base, with the feed's own description, decimals, update timestamp, age in seconds and a staleness flag. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

無需輸入參數。

base_contract_type

Identify what a Base contract actually is: ERC-20, ERC-721 or ERC-1155 via ERC-165, plus proxy detection across EIP-1967, EIP-1822 and the legacy ZeppelinOS slot with the current implementation address. Costs $0.002 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數address必填

base_allowance

ERC-20 allowance on Base: how much a spender may pull from an owner, whether it is an unlimited approval, the owner balance, and how much is actually spendable right now. Defaults to USDC. Costs $0.001 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數owner必填tokenspender必填

base_token_price

USD price for ANY token on Base, not just the two assets Chainlink covers. Discovers every Uniswap V3 pool against WETH and USDC across all four fee tiers, reads sqrtPriceX96 and does the Q96 fixed-point maths, prices off the deepest pool, ignores deployed-but-never-traded pools, and cross-checks the remaining ones to flag thin or manipulated liquidity. Costs $0.006 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數address必填

base_simulate_transfer

Will this token payment actually go through, and if not exactly why. Simulates the transfer without spending gas, decodes the real revert reason (Error(string), Panic codes translated to English, or a custom error selector), and separately reports balance and allowance blockers. Understands that a caller with no ETH is fine for gasless EIP-3009 or a sponsored relayer. Costs $0.008 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數to必填from必填tokenamount必填spender

base_contract_audit

What an UNVERIFIED Base contract can actually do — the case where block explorers show you nothing. Disassembles the deployed bytecode with a PUSH-aware opcode walk (a naive byte scan reports SELFDESTRUCT on contracts that cannot self-destruct), strips the Solidity metadata trailer, recovers the function selectors from the dispatch table and names them against a keccak-derived signature database, then reports admin powers (mint, blacklist, freeze, pause, trading switches, adjustable fees, upgrade hooks), dangerous opcodes (DELEGATECALL, SELFDESTRUCT, CALLCODE, CREATE2), which token standards it really implements, and whether it supports EIP-3009 so it can be paid gaslessly over x402 at all. Proxies are detected and followed, because a forwarder's own bytecode tells you nothing. Costs $0.04 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數address必填follow_proxy

base_portfolio

ETH and USDC balances for up to 20 Base addresses in a single call, with per-address funded flags and totals. One request instead of forty RPC round trips. Costs $0.003 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.

輸入參數addresses必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。