Skip to main content
Glama
Br0ski777

gas-estimator

by Br0ski777

Gas Estimator API

MCP Server x402 License: MIT

マルチチェーンのガス価格を1回の呼び出しで取得 -- ETH、Base、Polygon、Arbitrum、BSC。各チェーンを比較して最安値を見つけられます。x402 による従量課金(Base L2上のUSDC)-- APIキー不要、サインアップ不要、レート制限なし。

klymax402 マーケットプレイスの一部です -- AIエージェント向けの100個のx402マイクロペイメントAPI。1つのウォレットで、Base上のUSDCを使用します。

クイックスタート -- MCP

MCPクライアント設定(Claude Desktop、Cursor、ElizaOSなど)に追加します:

{
  "mcpServers": {
    "gas-estimator": {
      "url": "https://gas-estimator.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: base-gas-mcp

クイックスタート -- HTTP (x402)

curl -X POST "https://gas-estimator.api.klymax402.com/api/estimate" \
  -H "Content-Type: application/json" \
  -d '{}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

x402対応クライアント(@x402/fetchx402-agent-tools、ATXP)は、402 -> 署名 -> 再試行のサイクルを自動的に処理します。

ツール

Tool

Method

Path

Price

Description

crypto_estimate_gas

POST

/estimate

$0.005

複数のEVMチェーンにわたるガス価格の見積りを、USDコスト付きで取得します

crypto_estimate_gas

複数のEVMチェーンのガスを一度に比較する必要がある場合に使用します。マルチチェーンのガスをJSONで返します。

パラメータ

Name

Type

Required

Description

chain

string

no

チェーン名: ethereum、base、polygon、arbitrum、bsc。省略すると全チェーンが対象です。

戻り値

  • chains -- チェーン名を含むチェーンガスデータの配列

  • low -- 低速確認時のガス価格(gwei)

  • medium -- 標準確認時のガス価格(gwei)

  • high -- 高速確認時のガス価格(gwei)

  • transferCostUsd -- 各チェーンでの簡функд移転の推定USDコスト

  • cheapestChain -- 現在ガスコストが最安のチェーン

Example response:

{"chains":[{"chain":"base","low":0.005,"medium":0.008,"high":0.012,"transferCostUsd":0.01},{"chain":"ethereum","low":12.5,"medium":18.0,"high":25.0,"transferCostUsd":0.85}],"cheapestChain":"base"}

使用する場面: クロスチェーン取引の前に最安のチェーンを選ぶ時。ガスコストを最適化する必要があるマルチチェーンエージェントに不可欠です。

使用しない場面: スワップの見積もり(dex_get_swap_quote を使用)、ブリッジ(bridge_find_best_route を使用)。

エージェントのプロンプト例

  • "複数のEVMチェーン間のガス価格を一度に比較してください"

支払い

  • プロトコル: x402 -- HTTPネイティブな呼び出しごとの支払い。サインアップ不要、APIキー不要

  • ネットワーク: Base L2 (eip155:8453)

  • 資産: USDC

  • Facilitator: Coinbase CDP(プライマリ)、PayAI(フォールバック)

  • ATXP からもアクセス可能(OAuth ラップ済みの x402、RFC 9728 保護リソースメタデータ)

klymax402の一部

AIエージェント向けの100個のx402マイクロペイメントAPI -- 1つのウォレット、Base上のUSDC、サインアップ不要。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Find the cheapest EVM chain across up to 9 networks with savings %. Pay-per-call via x402 on Base.

  • Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

  • Pay-per-call x402 gateway: agent tools, OpenAI-compatible LLM, market data, RPC, security audits.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/gas-estimator-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server