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 集成