← ClaudeAtlas

openclaw-elsa-x402listed

DeFi tools for portfolio analysis, token search, and swap execution via Elsa API with x402 micropayments
dvcrn/openclaw-skills-marketplace · ★ 15 · Data & Documents · score 63
Install: claude install-skill dvcrn/openclaw-skills-marketplace
# Elsa x402 DeFi Tools This skill provides access to the Elsa DeFi API for portfolio management, token analysis, and swap execution using x402 micropayments. ## Standard Operating Procedure ### Budget Controls - Maximum $0.05 per API call (configurable) - Maximum $2.00 per day (configurable) - Maximum 30 calls per minute rate limit - Daily budget resets at midnight in configured timezone (default: UTC) ### Recommended Swap Flow (OpenClaw) When executing swaps, follow this 4-step flow: ``` ┌─────────────────────┐ ┌─────────────────────┐ ┌─────────────┐ ┌─────────────────────┐ │ 1. Get Quote │ ──▶ │ 2. Dry Run │ ──▶ │ 3. Confirm │ ──▶ │ 4. Execute Pipeline │ │ elsa_get_swap_quote │ │ elsa_execute_swap_ │ │ [User says │ │ elsa_pipeline_run_ │ │ │ │ dry_run │ │ "yes"] │ │ and_wait │ └─────────────────────┘ └─────────────────────┘ └─────────────┘ └─────────────────────┘ ``` **Step 1: Get Quote** - Show user what they'll receive ```bash npx tsx scripts/index.ts elsa_get_swap_quote '{ "from_chain": "base", "from_token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "from_amount": "10", "to_chain": "base", "to_token": "0x4200000000000000000000000000000000000006", "wallet_address": "0x...", "slippage": 0.5 }' ``` **Step 2: Dry Run** - Create pipeline, get `pipeline_id` ```bash npx tsx scripts/index.ts elsa_execute_swap_dry_run '{...same params...}' # Return