P0: wallet balances and EVM reads

dev.workers.x402-bazaar-rank-worker.x402-bazaar-rank由 x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev 發布官方發布者v1.0.0更新於 Nov 7, 2026

Wallet balances, ERC-20, blocks, transactions, receipts, ENS and payment checks, pay per call

發布方自己的服務:P0 Agent Economy Index

已驗證Streamable HTTP可網頁執行資料庫金融

概覽

AI 產生的概覽

按次付費的鏈上資料伺服器:錢包餘額、ERC-20 與原生幣餘額、區塊、交易、收據、ENS、nonce、付款驗證與兌換報價。

可以做什麼
  • 查詢以太坊、Base、Arbitrum、Polygon 上的錢包代幣餘額,可單筆或批次
  • 讀取五條鏈上的 ERC-20 與原生幣餘額、nonce 及合約程式碼
  • 依雜湊或區塊號取得區塊、交易與交易收據
  • 在 ENS 名稱與位址之間雙向解析
  • 驗證某筆交易是否向某位址支付了指定數量的資產
  • 取得 Velora 或 KyberSwap 的 DEX 兌換報價與未簽章交易
適用情境
適合助理需要錢包、交易或合約的鏈上事實、又不想自架節點時使用;也適合願意每次查詢支付幾分錢、而不想訂閱 API 的情境。
執行需求
遠端 streamable HTTP 端點;未宣告帳號或 API 金鑰。每個工具會回傳需以 x402 或 MPP 用戶端結算的付費請求,也可購買預付金鑰。需要能連線該端點與支付通道的網路。
安裝前請注意
每次呼叫都按次計費(約 0.001 至 0.075 美元),自動化迴圈可能持續花錢;購買預付金鑰同樣產生費用。免費試用依工具、依用戶端、依網路位址每個 UTC 日有限額。支付流程涉及 x402 或 MPP 用戶端及由你自行保管的錢包憑證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 P0: wallet balances and EVM reads,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "p0-wallet-balances-and-evm-reads": {
      "type": "http",
      "url": "https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/evm-wallet-onchain"
    }
  }
}

工具

12

wallet_balance

Wallet balance

Use when you need a wallet's token balances on several chains in one call: native coin plus USDC, USDT, DAI, WETH, WBTC/cbBTC on Ethereum, Base, Arbitrum and Polygon. Returns the paid x402 request for your input (GET /wallet/balance, $0.003 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. For one token on one chain use evm_erc20_balance; for the native coin on one chain use evm_native_balance; for many wallets use wallet_balance_batch. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數chainsaddress必填

wallet_balance_batch

Wallet balance batch

Use when you need native and stablecoin balances for a list of wallets: up to 25 addresses (0x or ENS names) in one POST. Returns the paid x402 request for your input (POST /wallet/balance/batch, $0.075 per call; schema linked). POST that JSON body to the URL with an x402 or MPP client to get the data. Bad input is refused before any charge. For one wallet use wallet_balance. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price.

輸入參數chainsaddresses必填

pay_check

Pay check

Use when you must confirm that a transaction paid at least an amount of an asset to an address: pass tx, to, amount and asset. Returns the paid x402 request for your input (GET /pay/check, $0.003 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Checks a payment against an expected recipient and amount; for raw transaction fields use evm_transaction, for status and logs use evm_receipt. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數to必填tx必填asset必填chainamount必填

quote_swap

Quote swap

Use for a DEX swap quote with a ready unsigned transaction: best route from Velora (ParaSwap), KyberSwap as fallback, on Base, Arbitrum, Ethereum, Optimism, Polygon, BNB Chain. Returns the paid x402 request for your input (GET /quote/swap, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Quote only: nothing is signed or sent, and the reply discloses P0's integrator fee. To check balances first use wallet_balance. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數to必填from必填chain必填taker必填amount必填to_decimalsslippage_bpsfrom_decimals

evm_erc20_balance

EVM ERC-20 balance

Use when you need one ERC-20 balance for one wallet: balanceOf, decimals and symbol read in a single multicall on Base, Ethereum, Arbitrum, Polygon or Optimism, with raw units, a decimal amount. Returns the paid x402 request for your input (GET /evm/erc20-balance, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. One token on one chain; for several tokens or chains at once use wallet_balance. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數chaintoken必填address必填

evm_native_balance

EVM native balance

Use when you need the native coin balance (ETH or POL) of an address on Base, Ethereum, Arbitrum, Polygon or Optimism: wei and a decimal amount from a public node, with the block number and as_of. Returns the paid x402 request for your input (GET /evm/native-balance, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Native coin on one chain only; for stablecoins or several chains use wallet_balance. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數chainaddress必填

evm_block

EVM block

Use when you need a block header on Base, Ethereum, Arbitrum, Polygon or Optimism: latest or a given number, with hash, parent, timestamp, miner, gas used/limit. Returns the paid x402 request for your input (GET /evm/block, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Block header only; for one transaction use evm_transaction or evm_receipt. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數chainnumber

evm_transaction

EVM transaction

Use when you need a transaction by hash on Base, Ethereum, Arbitrum, Polygon or Optimism: from, to, value, nonce, gas and fee fields, block, confirmations, method id and input (first 1 KB). Returns the paid x402 request for your input (GET /evm/tx, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Raw transaction fields (from, to, value, input); to know whether it succeeded (status, gas used, logs) use evm_receipt; to check a payment amount use pay_check. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數hash必填chain

evm_receipt

EVM receipt

Use when you need to know whether a transaction succeeded on Base, Ethereum, Arbitrum, Polygon or Optimism: receipt status, block, confirmations, gas used, effective gas price. Returns the paid x402 request for your input (GET /evm/receipt, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Status and logs of a mined transaction; for the transaction fields (from, to, value, input) use evm_transaction; to check a payment amount use pay_check. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數hash必填chain

evm_code

EVM code

Use when you must know whether an address is a contract on Base, Ethereum, Arbitrum, Polygon or Optimism: is_contract, bytecode size, sha256 of the bytecode. Returns the paid x402 request for your input (GET /evm/code, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Contract check with bytecode size and hash only; for the coin balance use evm_native_balance, for the transaction count use evm_nonce. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數chainaddress必填

evm_ens

EVM ENS

Use when you need ENS on Ethereum: name to address (name=vitalik.eth, via the Universal Resolver, with resolver address) or address to primary name (address=0x..., reverse record, forward-verified). Returns the paid x402 request for your input (GET /evm/ens, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數nameaddress

evm_nonce

EVM nonce

Use when you need an account's transaction count on Base, Ethereum, Arbitrum, Polygon or Optimism: nonce at the latest block and the pending nonce (queued transactions in the node's pool). Returns the paid x402 request for your input (GET /evm/nonce, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Transaction count (latest and pending) only; for the coin balance use evm_native_balance, for a transaction by hash use evm_transaction or evm_receipt. With an access key (Authorization: Bearer p0k_..., buy at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) the tool pays the call itself, returns the data and deducts the price. First call each day returns the data itself, free; later calls return the paid request.

輸入參數chainaddress必填

版本歷史

1
  1. v1.0.0最新Nov 7, 2026

評分

已滿足適用檢查項的 83%

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

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

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

  • 授權條款不適用

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

其他 Workers 整合