# Layerswap Developer Portal ## Docs - [DepositAddress](https://docs.layerswap.io/DepositAddress.md) - [Integrate Layerswap](https://docs.layerswap.io/Integrate.md) - [Playground](https://docs.layerswap.io/Playground.md) - [Partner Dashboard](https://docs.layerswap.io/api-keys.md): Learn how to register in the Partner Dashboard, create an organization, and obtain API keys for Mainnet and Testnet environments - [Health Check](https://docs.layerswap.io/api-reference/health/health-check.md): Verifies that the API is running and operational. - [Refunds](https://docs.layerswap.io/api-reference/refunds.md): Learn how Layerswap handles refunds - [Swap lifecycle](https://docs.layerswap.io/api-reference/swap-lifecycle.md): Understand the different statuses a swap goes through from creation to completion or refund. - [Create Swap](https://docs.layerswap.io/api-reference/swaps/create-swap.md): Creates a new swap based on the provided request. Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address, use the network's zero address (e.g. 0x0000000000000000000000000000000000000000 for EVM, 111111111111111… - [Get All Swaps](https://docs.layerswap.io/api-reference/swaps/get-all-swaps.md): Retrieves a list of all swaps. - [Get All Swaps By Status](https://docs.layerswap.io/api-reference/swaps/get-all-swaps-by-status.md): Retrieves a list of all swaps by statuses. - [Get Deposit Actions](https://docs.layerswap.io/api-reference/swaps/get-deposit-actions.md): Retrieves the deposit actions for a specific swap. - [Get Destinations](https://docs.layerswap.io/api-reference/swaps/get-destinations.md): Retrieves all available destination routes. Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address, use the network's zero address (e.g. 0x0000000000000000000000000000000000000000 for EVM, 111111111111111111111… - [Get Detailed Quote](https://docs.layerswap.io/api-reference/swaps/get-detailed-quote.md): Retrieves a swap quote based on the provided route request. Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address, use the network's zero address (e.g. 0x0000000000000000000000000000000000000000 for EVM, 11111… - [Get Networks](https://docs.layerswap.io/api-reference/swaps/get-networks.md): Retrieves a list of available networks with their tokens. - [Get Quote](https://docs.layerswap.io/api-reference/swaps/get-quote.md): Retrieves a swap quote based on the provided route request. Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address, use the network's zero address (e.g. 0x0000000000000000000000000000000000000000 for EVM, 11111… - [Get Sources](https://docs.layerswap.io/api-reference/swaps/get-sources.md): Retrieves all available source routes. Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address, use the network's zero address (e.g. 0x0000000000000000000000000000000000000000 for EVM, 11111111111111111111111111… - [Get Swap By Transaction Hash](https://docs.layerswap.io/api-reference/swaps/get-swap-by-transaction-hash.md): Retrieves the details of a swap associated with the given on-chain transaction hash. - [Get Swap Details](https://docs.layerswap.io/api-reference/swaps/get-swap-details.md): Retrieves the details of a specific swap by its ID. - [Get Swap Route Limits](https://docs.layerswap.io/api-reference/swaps/get-swap-route-limits.md): Retrieves the limits for swap route. Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address, use the network's zero address (e.g. 0x0000000000000000000000000000000000000000 for EVM, 1111111111111111111111111111… - [Get Transaction Status](https://docs.layerswap.io/api-reference/swaps/get-transaction-status.md): Retrieves the status of a transaction by its ID. - [Speed up deposit](https://docs.layerswap.io/api-reference/swaps/speed-up-deposit.md): Speed up deposit detection with deposit transaction hash. - [Webhooks](https://docs.layerswap.io/api-reference/webhook.md): Describes the mainnet and tesnet enviorments - [Fees](https://docs.layerswap.io/fees.md): Understand how Layerswap fees are structured and how to retrieve them via the API - [API Integration](https://docs.layerswap.io/integration/API.md) - [Configurations](https://docs.layerswap.io/integration/UI/Configurations.md) - [Hosted Page](https://docs.layerswap.io/integration/UI/HostedPage.md) - [UI Integration Overview](https://docs.layerswap.io/integration/UI/IntegrationOverview.md): Ready-to-use UI toolkit for integrating cross-chain swaps - [Framework Compatibility](https://docs.layerswap.io/integration/UI/Widget/Compatability.md): Technical requirements and configurations for integrating the Layerswap Widget - [Color Customization](https://docs.layerswap.io/integration/UI/Widget/Customization/Colors.md): Complete guide to customizing widget colors and generating color palettes - [Customization Overview](https://docs.layerswap.io/integration/UI/Widget/Customization/CustomizationIntroduction.md): How to customize the Layerswap Widget appearance and functionalities - [Theme Configuration](https://docs.layerswap.io/integration/UI/Widget/Customization/ThemeConfiguration.md): Configure borders, headers, layouts, and other elements - [Theme Examples](https://docs.layerswap.io/integration/UI/Widget/Customization/ThemeExamples.md): Ready-to-use theme examples for different use cases - [Events Introduction](https://docs.layerswap.io/integration/UI/Widget/EventCallbacks/EventsIntroduction.md): Subscribe to widget events and receive swap status updates - [onBackClick](https://docs.layerswap.io/integration/UI/Widget/EventCallbacks/onBackClick.md): Triggered when the user clicks the back button. - [onFormChange](https://docs.layerswap.io/integration/UI/Widget/EventCallbacks/onFormChange.md): Triggered whenever the swap form values change. - [onSwapComplete](https://docs.layerswap.io/integration/UI/Widget/EventCallbacks/onSwapComplete.md): Triggered when a swap completes successfully. - [onSwapCreate](https://docs.layerswap.io/integration/UI/Widget/EventCallbacks/onSwapCreate.md): Triggered when a new swap is created. - [onSwapModalStateChange](https://docs.layerswap.io/integration/UI/Widget/EventCallbacks/onSwapModalStateChange.md): Triggered when the swap modal opens or closes. - [Widget Quickstart](https://docs.layerswap.io/integration/UI/Widget/Quickstart.md): Interactive quick-start for the Layerswap Widget. - [Integration guide for Starknet dApps](https://docs.layerswap.io/integration/UI/Widget/Starknet/Starknet.md): Complete guide for integrating and customizing Layerswap Widget for Starknet dApps - [Starknet wallets with Dynamic](https://docs.layerswap.io/integration/UI/Widget/Starknet/StarknetWithDynamics.md): Complete guide for integrating and customizing Layerswap Widget with Starknet wallets using Dynamic Labs SDK - [Swap or Deposit from CEX](https://docs.layerswap.io/integration/UI/Widget/TabOptions.md): Configuring the Swap and Deposit from CEX flows in Layerswap Widget - [Next.js Polyfills](https://docs.layerswap.io/integration/UI/Widget/Troubleshooting/NextPolyfills.md): Configure webpack fallbacks for Next.js projects using the Layerswap Widget. - [Next.js Transpile Packages](https://docs.layerswap.io/integration/UI/Widget/Troubleshooting/NextTranspilePackages.md): Configure transpilePackages for ESM module resolution with the Layerswap Widget. - [Vite.js Polyfills](https://docs.layerswap.io/integration/UI/Widget/Troubleshooting/VitePolyfills.md): Configure polyfills for Vite.js projects using the Layerswap Widget. - [Bitcoin Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/BitcoinProvider.md) - [Custom Wallet Management](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/CustomWalletManagement.md): Full control over wallet connections using the WalletProvider interface with 3rd party libraries - [EVM Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/EVMProvider.md) - [Fuel Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/FuelProvider.md) - [Immutable Passport Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/ImmutablePassportProvider.md) - [ImmutableX Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/ImmutableXProvider.md) - [Native Wallet Packages](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/NativeWalletPackages.md): Use pre-built wallet providers with automatic balance fetching, gas resolution, and connection management - [Paradex Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/ParadexProvider.md) - [Partial Integration (EVM)](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/PartialIntegration.md): Integrate Layerswap with your existing wagmi setup for seamless external wallet detection - [SVM (Solana) Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/SolanaProvider.md) - [Starknet Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/StarknetProvider.md) - [TON Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/TonProvider.md) - [Tron Wallet](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/TronProvider.md) - [Wallet Management](https://docs.layerswap.io/integration/UI/Widget/WalletManagement/WalletManagement.md): Configure wallet connection for your integration - [IFrame Integration](https://docs.layerswap.io/integration/UI/iFrame.md) - [Introduction](https://docs.layerswap.io/introduction.md): Learn about Layerswap and find quick answers to your questions - [Supported Networks & Tokens](https://docs.layerswap.io/networks-tokens.md): Browse Layerswap's supported networks and tokens - [Bridge with Privy Server Wallets](https://docs.layerswap.io/recipes/privy-wallets.md): Bridge ERC-20 tokens through Layerswap from a Privy server wallet using gas sponsorship - [Security](https://docs.layerswap.io/security.md) ## OpenAPI Specs - [swagger](https://api.layerswap.io/swagger/v2/swagger.json)