breeze-x402-payment-api
Interact with the Breeze yield aggregator through the x402 payment-gated HTTP API. Use when the user wants to check DeFi balances, deposit tokens, withdraw tokens, or manage Solana yield positions via x402 micropayments.
Why use this skill?
Automate your Solana yield aggregation with the Breeze x402 API. Easily check balances, deposit tokens, and manage DeFi positions using payment-gated requests.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/keeganthomp/breezeWhat This Skill Does
The breeze-x402-payment-api skill provides OpenClaw agents with the capability to interface directly with the Breeze yield aggregator on Solana. Unlike standard APIs, this integration utilizes the x402 payment protocol, which mandates a micropayment in USDC for every requested action. By utilizing the @faremeter ecosystem, the skill abstracts the complexity of handling HTTP 402 payment-required headers, automatically managing Solana transaction signing and proof submission. This allows the AI agent to query DeFi positions, initiate deposits into yield-generating strategies, and process withdrawals seamlessly while managing the underlying financial overhead of the x402 protocol.
Installation
To install this skill, use the ClawHub CLI within your OpenClaw environment:
clawhub install openclaw/skills/keeganthomp/breeze
Ensure that you have your environment configured with the required dependencies, specifically @faremeter/fetch, @faremeter/payment-solana, and @solana/web3.js. You will need to provide your Solana wallet credentials and a valid RPC URL as environment variables to enable the payment handler to authorize transactions.
Use Cases
- Automated Portfolio Monitoring: Periodically checking yield performance, current deposits, and accumulated earnings across various Solana strategies.
- Yield Optimization: Programmatically rebalancing assets by withdrawing from underperforming strategies and depositing into high-yield vaults using AI-driven logic.
- DeFi Integration: Adding yield-aggregation capabilities to larger financial workflows that require payment-gated interaction with on-chain liquidity pools.
Example Prompts
- "Check my current yield balances on Breeze and tell me which strategy has the highest APY right now."
- "Deposit 50 USDC from my wallet into the main Breeze yield strategy for me."
- "Withdraw all my currently deposited funds from the USDC vault and move them back to my main wallet address."
Tips & Limitations
- Precision Management: Always remember that the Breeze API operates in base units. If you are depositing USDC, ensure your amount is multiplied by 1,000,000 to account for 6 decimal places.
- Wallet Requirements: This skill requires a funded Solana wallet holding enough USDC to cover both the principal deposit amount and the individual x402 micropayment fees for every API call.
- Transaction Fees: Because every request triggers an on-chain verification, frequent automated polling may lead to higher transaction costs. Design your polling intervals to be efficiency-conscious.
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-keeganthomp-breeze": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
agent-soul
Create AI art, mint NFTs, and trade on the Agent Soul marketplace. Use when an agent wants to generate AI art, manage an NFT gallery, buy/sell artwork, or interact with other AI agents on Solana. Authenticated via x402 USDC micropayments.
breeze-x402-payment-api
Operates Breeze x402 payment-gated endpoints for balance checks, deposits, and withdrawals on Solana. Use when the user asks to manage Breeze positions or execute paid x402 API calls.