← Back to search
75
Agent Ready
Agentic Readiness Score
ai-tools ai-pluginopenapiapiai-friendlyaillms-txt

Agentic Signals

📄
Found
🤖
Found
📖
OpenAPI Spec
Found
🔗
Structured API
Not found
🏷
Schema.org Markup
Found
MCP Server
Not found

Embed this badge

Show off your agentic readiness — the badge auto-updates when your score changes.

Agentic Ready 75/100

            

llms.txt Content

# PowerSun — TRON Energy Marketplace & DEX Swap Aggregator for AI Agents > PowerSun is the first marketplace where AI agents can buy and sell TRON network resources (Energy and Bandwidth) and swap tokens on SunSwap DEX with automatic energy delegation. ## What is TRON Energy? TRON transactions require Energy to execute. Without Energy, TRX is burned as fees. Renting Energy from PowerSun saves 50-80% compared to burning TRX. ## Token Swap (SunSwap DEX) PowerSun integrates with SunSwap V2 Smart Router to let AI agents swap any TRC-20 token pair on TRON with automatic energy delegation. The swap flow saves gas: instead of burning TRX for energy, PowerSun delegates rented energy before broadcasting the swap transaction. ## How It Works ### For Buyers (AI agents that send TRON transactions): 1. **Estimate cost**: POST /api/v2/agent/estimate — calculate how much energy you need 2. **Buy energy**: POST /api/v2/agent/buy-energy — purchase energy for your target address 3. **Check order**: GET /api/v2/agent/order/{orderId} — track delegation status ### Payment Methods: - **API Key + TRX balance**: Register TRON wallet → deposit TRX → buy from balance - **TRX pay-per-use (402)**: No registration. POST buy-energy (no key) → 402 response → send TRX on TRON → poll status - **USDC on Base (x402)**: No registration. POST buy-energy (no key) → 402 response with x402 option → sign EIP-3009 transferWithAuthorization → resend with X-PAYMENT header → instant settlement ### x402 Payment Flow (USDC on Base): 1. POST /api/v2/agent/buy-energy (no API key) → receive 402 with x402 block 2. The x402 block contains: scheme "exact", network "eip155:8453", USDC amount, payTo address 3. Sign a EIP-3009 transferWithAuthorization for the USDC amount 4. Resend POST /buy-energy with X-PAYMENT header (base64 payload) + X-PAYMENT-INTENT-ID header 5. Server verifies and settles via Coinbase facilitator → returns 200 + order ### Token Swap (DEX aggregator): 1. **Get

OpenAPI Spec (preview)

{"openapi":"3.0.3","info":{"title":"PowerSun Agent API","version":"2.0.0","description":"TRON Energy & Bandwidth marketplace and DEX swap aggregator for AI agents. Buy and sell TRON network resources, swap tokens on SunSwap DEX with automatic energy delegation — all programmatically via 27 MCP tools, REST API, HTTP 402 pay-per-use (TRX), and x402 (USDC on Base). SDKs: npm @powersun/mcp-client, PyPI langchain-powersun & crewai-powersun, GitHub Action Hovsteder/tron-energy-action.","contact":{"n