# 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 - [Depository](https://docs.layerswap.io/api-reference/depository.md): Fund a Layerswap swap by calling an on-chain contract instead of sending to a generated deposit address — ideal for smart-contract, server, and programmable wallets. - [Gasless Swaps](https://docs.layerswap.io/api-reference/gasless-swaps.md): Let users fund a swap by signing an off-chain message instead of sending an on-chain transaction — Layerswap's paymaster broadcasts the deposit and pays the gas. - [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. - [Authorize Gasless Deposit](https://docs.layerswap.io/api-reference/swaps/authorize-gasless-deposit.md): Submits a signed EIP-3009 authorization for a gasless deposit and starts the paymaster-sponsored deposit workflow. - [Create Swap](https://docs.layerswap.io/api-reference/swaps/create-swap.md): Creates a new swap based on the provided request. Network parameters accept either network names (e.g. ETHEREUM_MAINNET) or numeric chain IDs for EVM networks (e.g. 1). Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via con… - [Get All Swaps](https://docs.layerswap.io/api-reference/swaps/get-all-swaps.md): Retrieves a list of all swaps. - [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. Network parameters accept either network names (e.g. ETHEREUM_MAINNET) or numeric chain IDs for EVM networks (e.g. 1). Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract… - [Get Detailed Quote](https://docs.layerswap.io/api-reference/swaps/get-detailed-quote.md): Retrieves a swap quote based on the provided route request. Network parameters accept either network names (e.g. ETHEREUM_MAINNET) or numeric chain IDs for EVM networks (e.g. 1). Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native toke… - [Get Gasless Authorization Status](https://docs.layerswap.io/api-reference/swaps/get-gasless-authorization-status.md): Returns the status of a gasless deposit authorization and, once published, the on-chain transaction. - [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. Network parameters accept either network names (e.g. ETHEREUM_MAINNET) or numeric chain IDs for EVM networks (e.g. 1). Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native toke… - [Get Sources](https://docs.layerswap.io/api-reference/swaps/get-sources.md): Retrieves all available source routes. Network parameters accept either network names (e.g. ETHEREUM_MAINNET) or numeric chain IDs for EVM networks (e.g. 1). Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract addre… - [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. Network parameters accept either network names (e.g. ETHEREUM_MAINNET) or numeric chain IDs for EVM networks (e.g. 1). Token parameters accept either asset names (e.g. USDC, ETH) or token contract addresses (e.g. 0xa0b8...). For native tokens via contract address… - [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 - [Brand Assets](https://docs.layerswap.io/brand-assets.md): Download the Layerswap logo, symbol, and brand colors - [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 - [Deposit Widget](https://docs.layerswap.io/integration/UI/Widget/DepositWidget.md): A drop-in component that lets your users fund a fixed address — from a connected wallet or from any wallet or exchange via a deposit address. - [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 - [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)