Skip to main content

Overview

The LeoKit API provides a unified interface for cross-chain cryptocurrency swaps, supporting multiple blockchain ecosystems and aggregating quotes from various decentralized exchange (DEX) protocols. The API handles the entire swap lifecycle from quote generation to transaction execution.

Supported Protocols

LeoKit aggregates quotes from 6 leading DEX protocols:
  • THORChain - Cosmos-based native cross-chain DEX
  • MAYAChain - THORChain fork with CACAO support
  • Chainflip - Substrate-based cross-chain protocol
  • Relay - EVM-focused aggregator and bridge
  • NEAR - NEAR Protocol native swaps via 1Click
  • LeoBridge - LeoFinance proprietary bridge

Supported Blockchain Ecosystems

LeoKit supports 8 major blockchain ecosystems with broad network coverage:
  • EVM - Ethereum, BSC, Arbitrum, Polygon, Avalanche, Base, Optimism, Fantom
  • UTXO - Bitcoin, Litecoin, Dogecoin, Dash, Bitcoin Cash, Zcash
  • Cosmos - Cosmos Hub, Kujira, THORChain, MAYAChain
  • NEAR - NEAR Protocol
  • TRON - Tron Network
  • Cardano - Cardano blockchain
  • XRP - Ripple/XRP Ledger
  • Solana - Solana blockchain (partial support)

Base Information

Content Type

All API requests and responses use application/json format.

CORS

CORS is enabled for all origins, making it easy to integrate LeoKit into web applications.

Rate Limiting

Rate limiting is configured per client API key. Each API key has its own rate limit settings to ensure fair usage.

Cache Strategy

LeoKit implements strategic caching to optimize performance:
  • Quote responses: 5 seconds
  • Assets list: 20 seconds
  • Completed transactions: Long-term caching
This caching strategy reduces latency while ensuring data freshness where it matters most.