MCP.so
登录

Solana Fees X402

@Br0ski777

关于 Solana Fees X402

Solana priority fee estimates at 6 levels (min to max). Essential for every Solana transaction. -- x402 micropayment API + MCP server for AI agents

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

Br0ski777

提交者

Br0ski777

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "solana-fees": {
      "url": "https://solana-fees-production.up.railway.app/mcp",
      "transport": "sse"
    }
  }
}

工具

1

GET

概览

What is Solana Fees X402?

Solana Fees X402 is a server that provides Solana priority fee estimates at 6 levels (min to max). It integrates with the x402 pay-per-call protocol (USDC on Base L2) and requires no API key, signup, or rate-limit wall. It is part of the klymax402 marketplace of 100 x402 micropayment APIs for AI agents.

How to use Solana Fees X402?

Add the MCP server URL (https://solana-fees.api.klymax402.com/mcp) to an MCP client config (Claude Desktop, Cursor, ElizaOS, etc.). Alternatively, make an HTTP GET request to /api/fees; an x402-aware client (e.g., @x402/fetch) automatically handles the payment challenge. The tool solana_get_priority_fees accepts an optional program parameter for program-specific fees.

Key features of Solana Fees X402

  • Provides 6 priority fee levels: min, low, medium, high, veryHigh, max.
  • Pay-per-call via x402 – no signup, no API key, no rate-limit wall.
  • Returns current slot, update timestamp, and optional program-level fees.
  • Part of the klymax402 marketplace – 100 x402 APIs for AI agents.
  • One wallet, USDC on Base L2 for all payments.

Use cases of Solana Fees X402

  • Setting the right priority fee before sending any Solana transaction.
  • Avoiding failed transactions during congestion by using higher fee estimates.
  • Automating fee estimation in AI agents performing Jupiter swaps, NFT mints, or token transfers.
  • Estimating program-specific fees (e.g., Jupiter, Raydium) to optimize transaction costs.

FAQ from Solana Fees X402

What does it cost to use Solana Fees X402?

Each call costs $0.001, paid via the x402 protocol (USDC on Base L2). No signup or API key is required.

What priority fee levels are returned?

The API returns 6 levels: min (cheapest, may fail in congestion), low (25th percentile), medium (50th percentile, recommended), high (75th percentile), veryHigh (90th percentile), and max (guaranteed fast).

Can I get fees for a specific Solana program?

Yes, the optional program parameter (e.g., JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 for Jupiter) returns program-specific fee estimates. Omit it for global fees.

How do I pay for API calls?

Payment uses the x402 protocol – HTTP-native pay-per-call. The facilitator is Coinbase CDP (primary) with PayAI as fallback, all on Base L2 using USDC.

Is there a rate limit or signup?

No. There is no rate-limit wall, no signup, and no API key. You pay $0.001 per successful call.

评论

其他 分类下的更多 MCP 服务器