Skip to Content
Integration GuideOverview

Step-by-Step Integration

This guide walks you through the complete integration process for implementing UNIKRON’s token swap API with MEV protection.

Estimated Time: 15-30 minutes to complete full integration

Integration Steps

API Authentication

Obtain and configure your API credentials

Get Started →

Quote Request

Request optimal swap quotes from aggregators

Learn More →

Token Approval

Approve ERC-20 token spending (if needed)

View Details →

Sign & Submit

Sign transaction and submit to MEV-protected routing

Continue →

Transaction Monitoring

Track order status until confirmation

Complete Setup →


Quick Overview

// Complete integration workflow const quote = await getQuote(sellToken, buyToken, amount, userAddress); await approveToken(sellToken, quote.dexRoute.target, amount); const signedTx = await signTransaction(quote.mevProtection.transactionParams); const order = await submitOrder(signedTx); await waitForConfirmation(order.orderId);

Pro Tip: Check out our complete code examples in JavaScript, Python, and Go!


Ready to start? Begin with Step 1: API Authentication

Last updated on