titan-swap-api

Generate TypeScript code for streaming Titan Swap API Solana quotes.

2|1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/Titan-Pathfinder/titan-api-claude-skills --skill titan-swap-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: titan-swap-api
Source: https://github.com/Titan-Pathfinder/titan-api-claude-skills/tree/main
Command: npx skills add https://github.com/Titan-Pathfinder/titan-api-claude-skills --skill titan-swap-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies integrating with the Titan Swap API, enabling developers to efficiently stream real-time swap quotes and build Solana-based trading functionalities.

Core Features & Use Cases

  • Protocol-aware Code Generation: Generates TypeScript code with correct MessagePack encoding, BigInt amounts, and bs58-decoded token mints.
  • SDK and Raw WebSocket Support: Offers integration via a user-friendly SDK or direct WebSocket connection.
  • Use Case: Quickly generate TypeScript code to stream USDC to SOL swap quotes using the Titan API, handling BigInt amounts and correct parameter structures.

Quick Start

Ask Claude Code to help you stream USDC to SOL quotes using the Titan API.

Frequently Asked Questions about titan-swap-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stream real-time Solana swap quotes via WebSocket in TypeScript?

To stream Solana swap quotes in TypeScript, you can use the Titan Swap API via a user-friendly SDK or a raw WebSocket connection. This allows you to efficiently build trading functionalities with real-time DEX aggregation.

What is the best way to handle BigInt amounts and MessagePack encoding for Solana DEX aggregation?

Handling BigInt amounts and MessagePack encoding for Solana DEX aggregation requires protocol-aware TypeScript code generation. The Titan Swap API integration manages correct parameter structures and bs58-decoded token mints for efficient data streaming.

Can I use a raw WebSocket connection instead of an SDK to get Solana swap quotes?

Yes, you can use a raw WebSocket connection to stream Solana swap quotes. The integration supports both direct WebSocket connections and an SDK approach, handling the MessagePack encoding and BigInt amounts required for the API.

How do I generate TypeScript code to stream a USDC to SOL swap quote using the Titan API?

You generate TypeScript code to stream a USDC to SOL swap quote by asking Claude Code to facilitate the Titan API integration. This generates the correct parameter structures, bs58-decoded token mints, and MessagePack encoding needed for the swap.

Why do my Solana swap quote parameters fail when sending token mints over a WebSocket?

Solana swap quote parameters fail over a WebSocket if token mints are not bs58-decoded and amounts are not handled as BigInts. Protocol-aware code generation correctly formats these parameters using MessagePack encoding for the API.