tron-x402-payment
Pay for x402-enabled Agent endpoints using TRC20 tokens (USDT/USDD) on TRON
Why use this skill?
Pay for x402-enabled AI agent endpoints automatically on the TRON blockchain using TRC20 tokens like USDT and USDD. Install now.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wzc1206/tron-x402-paymentWhat This Skill Does
The tron-x402-payment skill enables seamless, automated cryptocurrency payments for AI agent interactions on the TRON blockchain. It specifically facilitates the x402 Payment Protocol, allowing an AI agent to automatically settle micro-payments using TRC20 tokens like USDT or USDD when accessing paid API endpoints. By abstracting the complexities of blockchain transactions, such as allowance approvals, signing EIP-712 typed data, and gas fee handling, this skill allows users to pay for premium agent compute or data resources without manual intervention. It functions by intercepting 402 Payment Required responses from agents and completing the necessary on-chain transactions before retrying the original request.
Installation
To integrate this skill into your environment, use the OpenClaw installer command via your terminal:
clawhub install openclaw/skills/skills/wzc1206/tron-x402-payment
After installation, ensure you have a valid TRON private key configured in your environment as TRON_PRIVATE_KEY or stored within ~/.mcporter/mcporter.json. If you are operating on the TRON Mainnet, it is highly recommended to provide a TRON_GRID_API_KEY to prevent rate limiting during payment verification and transaction broadcasts.
Use Cases
- Monetized AI Agents: Providing seamless access to paid AI services, analytical models, or specialized data endpoints.
- Automated Research: Paying for multiple API requests across various x402-enabled agent services during complex data gathering tasks.
- Decentralized SaaS: Paying for compute resources or external agent outputs in a trustless environment where standard credit card gateways are not available or applicable.
Example Prompts
- "Invoke the agent at https://api.paid-model.com with the prompt 'Analyze the latest market sentiment for TRX' and handle the payment automatically."
- "Check if my TRON wallet is correctly configured for the x402-payment skill and show me my current address."
- "Call the agent endpoint https://market-oracle.io/entrypoints/price-check/invoke with input '{"symbol": "USDT"}' and pay using my default TRC20 token."
Tips & Limitations
- Gas Fees: Ensure your wallet holds enough TRX for transaction gas. The skill handles the token logic, but TRX is mandatory for network fees.
- Security: Never share your private key. Use secure environment variables or the standard
~/.mcporter/mcporter.jsonfile configuration. - Status Checks: Always run the
--statuscommand to verify your wallet configuration before initiating high-value transactions. - Compatibility: This skill is optimized for TRC20 tokens; ensure your chosen agent supports USDT or USDD as specified in their documentation.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wzc1206-tron-x402-payment": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, file-read, external-api, code-execution
Related Skills
iseclaw-intel
Indonesian Web3 intelligence via Iseclaw ACP agent. Real-time market data, token signals, TGE research, and GameFi analysis from Southeast Asia's first transparent AI agent.
highlevel
Connect your AI assistant to GoHighLevel CRM via the official API v2. Manage contacts, conversations, calendars, pipelines, invoices, payments, workflows, and 30+ endpoint groups through natural language. Includes interactive setup wizard and 100+ pre-built, safe API commands. Python 3.6+ stdlib only — zero external dependencies.
Zerion Api Skill
Skill by abishekdharshan
scrapebadger
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
clinicaltrials-gov-parser
Monitor and summarize competitor clinical trial status changes from ClinicalTrials.gov. Trigger: When user asks to track clinical trials, monitor trial status changes, get updates on specific trials, or analyze competitor trial activities. Use cases: Pharma competitive intelligence, trial monitoring, status tracking, recruitment updates, completion alerts.