原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Powersun Tron MCP

作者:Hovsteder版本 1.3.0i★ 2i在云端运行官方网站 ↗
注册名称io.github.Hovsteder/powersun-tron-mcp

安装方法

What it does

TRON Energy marketplace + DEX swap aggregator for AI agents. 27 MCP tools.

  • Connects 在云端运行
  • Account or key No key needed
  • Category 加密货币与区块链

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度6/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度3/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分17/100

质量: 基础检查通过 4/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Powersun Tron MCP。按照 https://mcp.popnx.com/i/hovsteder-powersun-tron-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 4/5 项检查 · 你的提问会经过开发者的服务器(powersun.vip) · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Powersun Tron MCP
    Remote MCP server URL · 地址https://powersun.vip/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsPowersun Tron MCP

  4. 试一试

    用 Powersun Tron MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Powersun Tron MCP,或回答中出现 Powersun Tron MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Powersun Tron MCP
    Connection · 地址https://powersun.vip/mcp
  3. 在聊天中选择 Powersun Tron MCP

    开启新聊天,输入前先从插件列表中选择 Powersun Tron MCP

  4. 试一试

    用 Powersun Tron MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Powersun Tron MCP,或回答中出现 Powersun Tron MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user powersun-tron https://powersun.vip/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Powersun Tron MCP 在列表中并显示已连接

  4. 试一试

    用 Powersun Tron MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Powersun Tron MCP,或回答中出现 Powersun Tron MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Powersun Tron MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Powersun Tron MCP,或回答中出现 Powersun Tron MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Powersun Tron MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Powersun Tron MCP,或回答中出现 Powersun Tron MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://powersun.vip/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Powersun Tron MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user powersun-tron https://powersun.vip/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "powersun-tron": {
      "url": "https://powersun.vip/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "powersun-tron": {
      "type": "http",
      "url": "https://powersun.vip/mcp"
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
在云端运行
传输方式
streamable-http
最新版本i
1.3.0
发布到注册中心i
2026年3月3日
代码最后更新i
2026年4月2日
最近检查
2026年11月18日
作者
Hovsteder
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月18日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • get_prices

    Get current TRON Energy and Bandwidth minimum prices for all duration tiers. Returns price per unit in SUN for each available duration.

  • estimate_cost

    Calculate the cost of purchasing TRON Energy or Bandwidth. Exact resourceAmount takes priority. Derived Bandwidth is an estimate for standard USDT TRC-20 transfers (345 units plus 5%); other transaction templates require an explicit resourceAmount. Minimum order sizes still apply

  • get_available_resources

    Get total available Energy and Bandwidth across all active pools. Shows how much resource can be purchased right now.

  • get_market_overview

    Comprehensive market overview: prices, availability, allowed durations, order constraints, and transaction types. Useful for agents to understand what they can purchase.

  • get_balance

    Get your current TRX balance and deposit information. Requires API key authentication.

  • buy_energy

    Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.

  • broadcast_transaction

    Broadcast a pre-signed TRON transaction with auto energy delegation. Send your signed transaction data and PowerSun will delegate energy before broadcasting. Works with API key (balance deduction) or x402 USDC payment. Without authentication, returns cost estimate.

  • get_orders

    Get your order history with optional status filter. Returns recent orders sorted by creation time.

  • get_order_status

    Get detailed status of a specific order including delegation progress.

  • get_deposit_info

    Get the deposit address to top up your account balance with TRX.

  • get_swap_quote

    Get a price quote and unsigned transaction for swapping tokens on SunSwap DEX. Returns an unsigned TX for client-side signing. After signing, submit via execute_swap. Requires API key.

  • execute_swap

    Execute a pre-signed swap transaction with automatic energy delegation. Get the unsigned TX from get_swap_quote, sign it, and submit here. Energy is delegated before broadcast. Works with API key (balance deduction) or x402 USDC payment.

  • get_pool_stats

    Get comprehensive statistics for your energy/bandwidth pools: delegations, revenue, utilization, APY. Requires API key.

  • get_earnings

    Get earnings breakdown by pool: total earned, pending payout, paid out. Optionally filter by date range.

  • get_auto_selling_config

    Get current auto-selling configuration for your pools. Shows which resources are being sold, duration constraints, and reserves.

  • configure_auto_selling

    Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.

  • get_pool_delegations

    Get active delegations from your pools. Shows who received energy/bandwidth and when delegations expire.

  • withdraw_earnings

    Withdrawal execution is not available through MCP. Use the withdrawal flow at https://powersun.vip. This tool does not create a withdrawal request or move funds.

  • register_pool

    Register a TRON address as an energy/bandwidth selling pool on PowerSun. This creates a pool and auto-selling configuration. After registering, you must grant active permissions to the platform address (DelegateResource, UnDelegateResource, VoteWitness) so the platform can delega

  • get_onchain_status

    Get live blockchain state for your pool: TRX balance, frozen resources (Energy/Bandwidth), voting status, claimable rewards, and delegated resources. Data is fetched directly from TRON blockchain. Requires API key.

  • check_pool_permissions

    Verify that the platform has the required active permissions on your pool address. Required: DelegateResource (to sell energy), UnDelegateResource (to reclaim). Optional: VoteWitness (to vote for SRs and earn rewards). Run this after granting permissions to confirm the platform c

  • trigger_vote

    Vote for the best Super Representative (SR) with the highest APY to earn voting rewards. The platform automatically selects the SR with the best return. Requires VoteWitness permission granted to the platform. Voting rewards accumulate and can be claimed automatically if auto-cla

  • get_auto_action_history

    View execution history of automatic actions (stake, vote, claim) for your pool. Shows status (success/failed/skipped), amounts, transaction hashes, and timestamps. Requires API key.

  • register

    Start agent registration by providing your TRON address. Returns a challenge string that you must sign with your TRON private key using tronWeb.trx.signMessageV2(). After signing, call verify_registration with the signature to receive your API key. No authentication required.

  • verify_registration

    Complete agent registration by verifying your signed challenge. Returns an API key and upgrades the current session to authenticated. After verification, all authenticated tools (buy_energy, get_balance, register_pool, etc.) will work in this session without needing to reconnect.

  • build_permission_transaction

    Build an AccountPermissionUpdate transaction that grants the PowerSun platform permission to delegate/undelegate resources and optionally vote on your behalf. Returns an unsigned transaction that you must sign with your private key and then broadcast using broadcast_signed_permis

  • broadcast_signed_permission_tx

    Broadcast a signed AccountPermissionUpdate transaction to the TRON blockchain. After broadcasting, verifies that the platform permissions were correctly applied. Use this after signing the transaction from build_permission_transaction. Requires authentication.

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Hovsteder 验证,该账户拥有此仓库

  • ! 注意

    仍在维护

    代码最后更新于8个月前,已超过 6 个月

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 717 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 27 个工具描述,未发现针对 AI 的隐藏指令

云端地址最近 4 次检查中有 4 次响应 · 最近一次 717 ms · 检查于 2026年11月18日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/hovsteder-powersun-tron-mcp.svg)](https://mcp.popnx.com/en/servers/hovsteder-powersun-tron-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“加密货币与区块链”中的其他服务器比较i

  • 星标数多于此分类中其他 1759 个服务器的 91%
  • 发布到注册中心的时间比此分类中其他 1759 个服务器的 4% 更新
  • 基础检查结果等于或优于此分类中其他 1759 个服务器的 60%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Powersun Tron MCP 安全吗?

它在 5 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于8个月前,最新版本(1.3.0)于9个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

DexSQL

SQL for Android APK and DEX files: classes, methods, strings, references and smali.

作者:LSPosed正在增长★ 32032天前更新

在你的电脑上运行✓ lsposed.org

PayRam

Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.

作者:PayRam正在增长★ 15843天前更新

在云端运行✓ 服务方 · payram.com

DexPaprika

DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.

作者:coinpaprika正在增长★ 1206天前更新

在云端运行✓ 服务方 · dexpaprika.com

X402 List MCP

Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.

作者:mcccsm起步阶段↓ 80/周★ 1840天前更新

电脑或云端✓ 服务方 · x402-list.com
与相似项目对比
本项
Powersun Tron MCP
DexSQLPayRamDexPaprikaAlchemy MCP ServerX402 List MCP
运行位置在云端运行,无需安装需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装云端或安装在电脑上都可以
需要密钥否否否否否否
可在 Claude 中按 + 添加否否否否否否
基础检查4/52/33/44/44/45/5
许可证MITNOASSERTION–MITMITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

PowerSun.vip — TRON Energy & Bandwidth MCP Server + DEX Swap Aggregator

The first TRON Energy marketplace and DEX swap aggregator for AI agents.

Buy energy, sell resources, swap tokens on SunSwap DEX, and earn passive income — fully autonomous via MCP, REST API, or HTTP 402.

Only 10% commission — the lowest on the market.

MCP Endpoint: https://powersun.vip/mcp Transport: Streamable HTTP (remote — no installation required) Auth: Optional X-API-Key header (public tools work without authentication)


About PowerSun.vip

PowerSun.vip is a full-featured TRON Energy & Bandwidth marketplace and DEX swap aggregator where users and AI agents can buy and sell network resources required for TRON transactions, and swap any TRC-20 tokens via SunSwap V2 Smart Router.

Platform Highlights
  • Only 10% commission — competitors charge 15–30%. PowerSun.vip offers the lowest fees on the market.
  • Save 20–50% on TRON transaction fees by renting Energy instead of burning TRX.
  • DEX Token Swaps — swap any TRC-20 token pair (TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST, or any contract address) via SunSwap V2 Smart Router with automatic energy delegation.
  • Instant delegation — Energy is delegated to your address within seconds after payment.
  • Flexible durations — rent from 5 minutes to 30 days, pay only for what you need.
  • Autonomous selling — AI agents can register pools, verify permissions, vote for SRs, and earn passive income entirely through MCP.
  • Human + AI friendly — full web interface for humans, MCP + REST API + HTTP 402 for agents.
  • No registration required — use HTTP 402 pay-per-use or x402 (USDC on Base) without creating an account.
Why TRON Energy Matters

Every TRON transaction (USDT transfers, smart contract calls) requires Energy. Without it, TRX tokens are burned as fees. For example, a single USDT transfer burns ~27 TRX (~$7) without Energy. With PowerSun.vip, the same transfer costs as little as ~$1.


MCP Server — Quick Start

Connect from Claude Desktop / Cursor / any MCP client
{

"mcpServers": { "powersun": { "url": "https://powersun.vip/mcp" } } }

That's it — no API keys, no npm install, no Docker. The server is hosted and always available.

With authentication (for balance, orders, selling & swaps)
{

"mcpServers": { "powersun": { "url": "https://powersun.vip/mcp", "headers": { "X-API-Key": "ps_your_api_key_here" } } } }


MCP Tools (27 total)

Onboarding Tools — 4 tools (self-service registration via MCP)

These tools let agents register, authenticate, and grant permissions — entirely within a single MCP session. No REST API needed.

ToolDescription
registerStart registration — get a challenge to sign with your TRON wallet
verify_registrationSubmit wallet signature → get API key, session upgrades automatically
build_permission_transactionBuild an unsigned AccountPermissionUpdate tx to grant platform permissions
broadcast_signed_permission_txBroadcast the signed permission tx and verify on-chain

Returning users: If the wallet is already registered, verify_registration returns the existing API key + account status (pools, permissions, balance).

Market Tools — 4 tools (public, no auth required)
ToolDescription
get_pricesCurrent Energy & Bandwidth prices for all duration tiers (5min to 30d)
estimate_costCalculate exact cost for a specific energy amount and duration
get_available_resourcesCheck available Energy & Bandwidth in the marketplace
get_market_overviewFull market snapshot — prices, availability, order stats
Buyer Tools — 6 tools (auth recommended)
ToolDescription
buy_energyPurchase Energy delegation for any TRON address
get_balanceAccount balance and deposit address
get_ordersList your recent orders
get_order_statusDetailed order status with delegation progress
get_deposit_infoGet deposit address and payment instructions
broadcast_transactionBroadcast a pre-signed TRON transaction with automatic Energy delegation. Works with API key (balance), x402 USDC, or 402 pay-per-use — no registration required.
Swap Tools — 2 tools (auth recommended)
ToolDescription
get_swap_quoteGet a swap quote from SunSwap V2 Smart Router — returns expected output, minimum output with slippage, energy cost, and unsigned TX to sign. Supports TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST, or any TRC-20 contract address.
execute_swapBroadcast a pre-signed swap transaction with automatic Energy delegation. Get the unsigned TX from get_swap_quote, sign it with your private key, then submit here. Works with API key, x402, or 402.

Swap flow: get_swap_quote → agent signs unsigned TX → execute_swap → tokens swapped with energy delegation included.

Seller Tools — 11 tools (auth required)
Pool Management
ToolDescription
register_poolRegister a TRON address as a selling pool (autonomous onboarding)
get_pool_statsPool performance and delegation statistics
get_earningsEarnings breakdown and history
get_auto_selling_configCurrent auto-selling configuration
configure_auto_sellingEnable/disable auto-selling with price settings
get_pool_delegationsActive delegations from your pool
withdraw_earningsWithdraw earned TRX to your wallet
On-Chain Operations
ToolDescription
get_onchain_statusLive blockchain state — balance, frozen TRX, energy/bandwidth, votes, claimable rewards
check_pool_permissionsVerify platform has required on-chain permissions (delegate, undelegate, vote)
trigger_voteVote for Super Representative to earn staking rewards
get_auto_action_historyView auto-action execution logs (stake, vote, claim)

Full Autonomous Onboarding

AI agents can go from "I have a TRON wallet with a private key" to "I'm earning passive income" — in a single MCP session:

Step 1: Register & Authenticate
MCP: register { address: "TMyWallet..." }

→ challengeId + challenge text

Agent signs: tronWeb.trx.signMessageV2(challenge, privateKey)

MCP: verify_registration { challengeId, address, signature } → API key + balance + session upgraded → All authenticated tools now work in this session

Step 2: Grant Permissions
MCP: build_permission_transaction { poolAddress: "TMyWallet..." }

→ unsigned AccountPermissionUpdate transaction → Grants: DelegateResource(57), UnDelegateResource(58), VoteWitness(4)

Agent signs: tronWeb.trx.sign(unsignedTx, privateKey)

MCP: broadcast_signed_permission_tx { signedTransaction, poolAddress } → txHash + permissions verified on-chain

Security: Agent permissions are limited to delegate, undelegate, and vote only. No access to FreezeBalanceV2 or WithdrawBalance. Staking and reward claiming are managed by the platform automatically.

Step 3: Register Pool
MCP: register_pool { paymentAddress: "TMyWallet..." }

→ Pool created, auto-selling enabled

Step 4: Vote & Monitor
MCP: trigger_vote → Vote for highest-APY Super Representative

MCP: get_onchain_status → Balance, frozen TRX, energy, votes, rewards MCP: get_earnings → Selling earnings breakdown MCP: get_auto_action_history → Auto-action execution logs


Token Swap (SunSwap DEX)

PowerSun integrates with SunSwap V2 Smart Router to provide non-custodial token swaps on the TRON network. Energy is automatically delegated for the swap transaction, so you save on gas compared to burning TRX.

Supported Tokens

TRX, USDT, USDC, USDD, SUN, BTT, WIN, JST — or any TRC-20 contract address.

Swap via MCP
MCP: get_swap_quote {

fromToken: "TRX", toToken: "USDT", amountIn: "10000000", // 10 TRX in SUN slippageBps: 50, // 0.5% senderAddress: "TMyWallet..." } → quote (expected output, minimum output, price impact) → energy (cost, savings vs burn) → unsignedTx (raw transaction to sign)

Agent signs: tronWeb.trx.sign(unsignedTx, privateKey)

MCP: execute_swap { signedTransaction: "..." } → txHash + swap result

Swap via REST API
curl -X POST https://powersun.vip/api/v2/agent/swap \

-H "X-API-Key: ps_your_key" \ -H "Content-Type: application/json" \ -d '{ "fromToken": "TRX", "toToken": "USDT", "amountIn": "10000000", "slippageBps": 50, "senderAddress": "TYourAddress..." }'


Payment Methods

PowerSun.vip supports three payment flows — choose what's most convenient:

1. API Key + TRX Balance

Register a TRON wallet, deposit TRX, buy from balance. Best for repeat usage.

2. HTTP 402 Pay-per-use (TRX)

No registration needed. Works with all endpoints: buy-energy, broadcast, and swap. Request → receive 402 response with platform deposit address and unique TRX amount → send exact amount to the platform wallet on TRON → poll for completion. Payment is matched by unique amount. Fully autonomous.

3. x402 Protocol (USDC on Base)

No registration needed. Works with all endpoints: buy-energy, broadcast, and swap. Request → receive 402 with x402 payment requirements → sign EIP-3009 transferWithAuthorization → resend with X-PAYMENT header → instant settlement. Cross-chain payments powered by Coinbase x402.


REST API

Full REST API available alongside MCP:

EndpointDescription
POST /api/v2/agent/registerStart wallet registration
POST /api/v2/agent/verifyVerify signature, get API key
POST /api/v2/agent/estimateEstimate cost
POST /api/v2/agent/buy-energyPurchase energy (API key, 402, or x402)
POST /api/v2/agent/swapGet swap quote from SunSwap DEX (returns unsigned TX)
POST /api/v2/agent/broadcastBroadcast signed transaction with auto Energy (API key, 402, or x402)
GET /api/v2/agent/balanceCheck balance
GET /api/v2/agent/order/{id}Order status
GET /api/v2/agent/payment-status/{id}402 payment status

Pricing

Energy Prices
DurationMin Price (SUN/unit)
5 min80
10 min75
15 min70
30 min65
1 hour60
6 hours57
1 day55
7 days52
30 days50

Bandwidth prices follow a 10x ratio (e.g. 800 SUN for 5 min, 500 SUN for 30 days).

CommissionOnly 10% — lowest on the market
Savings20–50% vs TRX burn

Available durations: 5min, 10min, 15min, 30min, 1h, 6h, 1d, 7d, 30d

Swap energy cost: When swapping tokens, PowerSun automatically delegates 5-minute Energy for the swap transaction. The energy cost is included in the swap quote — no separate purchase needed.

Commission Comparison

| Platform | Commissio

只显示了开头部分;其余内容请在仓库中阅读