MetaLayer API
MetaLayer API is a unified interface for accessing distributed liquidity across the entire DeFi ecosystem. Unlike standard bridges or aggregators, the MetaLayer acts as an orchestrator by combining liquidity from DEXs aggregators and bridging into a single intelligent routing layer.
For fintech providers, this is the shortest path to integrating crypto functionality without the need to maintain dozens of separate protocols or spend resources on complex backend infrastructure.
Overview
At the core of the MetaLayer is the principle of complexity abstraction. Instead of manually integrating 10 bridges, 20 DEX aggregators or multiple aggregators, you connect to a single API that builds optimal routes on top of existing protocols.
Key benefits for businesses:
Unique routes: Access to multi-step exchange paths (e.g. swap on Chain A, then bridge, then swap on Chain B) that are not available via direct integrations
Maximum liquidity: Automatic selection of the best price across all connected liquidity sources
Flexible monetization: Tools for dynamic fee management and automated revenue distribution
Monetization and partnership
The CrossCurve MetaLayer is designed around a partnership-driven model. Activation of commercial terms consists of two stages:
Agreement on revenue share terms
Before going live, you need to contact our partnership team at [email protected] or @Eywa_COO. The manager will work out your specific revenue sharing terms with you and activate your API key for withdrawing accumulated fees.
Dynamic partner fees
You have full control over your margin. In each quote request, you can include the partnerFeeBps parameter.
Flexibility: Set different fees for different asset types or swap directions.
Calculation: 1 basis point (bps) equals 0.01%. For example, a value of 50 bps corresponds to a 0.5% fee.
Automation: The system automatically calculates the fee amount and includes it in the final quote for the user.
Quick start
API key and fee address
You can test the API without a dedicated key. In this mode, you cannot set or receive additional fees.
Contact [email protected] or @Eywa_COO to obtain an API key and register your EVM address. Your fees will be sent to this address.
Action flow for executing a swap
Step 1: Request routes
Your application requests possible transfer routes from network A to network B.
Step 2: Select route and build transaction
API returns options with the estimated time, fees, and output amount. Your application selects the best one.
Then, build the transaction with the selected route.
Step 3: Send transaction
User sends the signed transaction using ethers.js or any Web3 library.
Step 4: Track transaction status
Your application may monitor the transaction status across chains via REST API or WebSocket Monitor.
Step 5: Completion
Transfer completes in the destination network. All confirmation and relay logic is handled by MetaLayer infrastructure.
Last updated

