# Layerswap Developer Portal ## Docs - [DepositAddress](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/DepositAddress.md) - [Integrate Layerswap](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/Integrate.md) - [Playground](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/Playground.md) - [Partner Dashboard](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-keys.md): Learn how to register in the Partner Dashboard, create an organization, and obtain API keys for Mainnet and Testnet environments - [Bitcoin](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/bitcoin.md): Execute deposit transactions on Bitcoin mainnet and testnet using PSBT construction. - [Choosing a deposit method](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/choosing-a-method.md): The three ways to fund a swap — direct transfer, deposit address, and depository — and when to use each. - [EVM Chains](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/evm.md): Execute deposit transactions on Ethereum, Arbitrum, Optimism, Base, Polygon, and other EVM-compatible networks. - [Fuel](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/fuel.md): Execute deposit transactions on the Fuel network using pre-built script transactions from call_data. - [Deposit Actions](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/overview.md): Execute the on-chain deposit that funds a swap — the deposit action object, the funding modes, and the per-chain execution guides. - [Solana](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/solana.md): Execute deposit transactions on Solana by deserializing and signing the pre-built transaction from call_data. - [Starknet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/starknet.md): Execute deposit transactions on Starknet using the multicall format from call_data. - [TON](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/ton.md): Execute deposit transactions on The Open Network for both native TON and Jetton (token) transfers. - [Tron](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/deposit-actions/tron.md): Execute deposit transactions on Tron for TRC-20 token transfers. - [Depository](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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. - [Health Check](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/health/health-check.md): Verifies that the API is running and operational. - [Refunds](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/refunds.md): Learn how Layerswap handles refunds - [Swap lifecycle](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swap-lifecycle.md): Understand the different statuses a swap goes through from creation to completion or refund. - [Create Swap](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swaps/get-all-swaps.md): Retrieves a list of all swaps. - [Get Deposit Actions](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swaps/get-deposit-actions.md): Retrieves the deposit actions for a specific swap. - [Get Destinations](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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 Networks](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swaps/get-networks.md): Retrieves a list of available networks with their tokens. - [Get Quote](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swaps/get-swap-details.md): Retrieves the details of a specific swap by its ID. - [Get Swap Route Limits](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swaps/get-transaction-status.md): Retrieves the status of a transaction by its ID. - [Speed up deposit](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/swaps/speed-up-deposit.md): Speed up deposit detection with deposit transaction hash. - [Webhooks](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/api-reference/webhook.md): Describes the mainnet and tesnet enviorments - [Brand Assets](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/brand-assets.md): Download the Layerswap logo, symbol, and brand colors - [Fees](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/fees.md): Understand how Layerswap fees are structured and how to retrieve them via the API - [API Integration](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/API.md): Move tokens across chains with the Layerswap API: discover routes, quote, create a swap, execute the deposit, and track it to completion. - [Configurations](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Configurations.md) - [Hosted Page](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/HostedPage.md) - [UI Integration Overview](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/IntegrationOverview.md): Ready-to-use UI toolkit for integrating cross-chain swaps - [Framework Compatibility](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Compatability.md): Technical requirements and configurations for integrating the Layerswap Widget - [Color Customization](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Customization/Colors.md): Complete guide to customizing widget colors and generating color palettes - [Customization Overview](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Customization/CustomizationIntroduction.md): How to customize the Layerswap Widget appearance and functionalities - [Theme Configuration](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Customization/ThemeConfiguration.md): Configure borders, headers, layouts, and other elements - [Theme Examples](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Customization/ThemeExamples.md): Ready-to-use theme examples for different use cases - [Deposit Widget](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/EventCallbacks/EventsIntroduction.md): Subscribe to widget events and receive swap status updates - [onBackClick](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/EventCallbacks/onBackClick.md): Triggered when the user clicks the back button. - [onFormChange](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/EventCallbacks/onFormChange.md): Triggered whenever the swap form values change. - [onSwapComplete](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/EventCallbacks/onSwapComplete.md): Triggered when a swap completes successfully. - [onSwapCreate](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/EventCallbacks/onSwapCreate.md): Triggered when a new swap is created. - [onSwapModalStateChange](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/EventCallbacks/onSwapModalStateChange.md): Triggered when the swap modal opens or closes. - [Widget Quickstart](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Quickstart.md): Interactive quick-start for the Layerswap Widget. - [Integration guide for Starknet dApps](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Starknet/Starknet.md): Complete guide for integrating and customizing Layerswap Widget for Starknet dApps - [Starknet wallets with Dynamic](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/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://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Troubleshooting/NextPolyfills.md): Configure webpack fallbacks for Next.js projects using the Layerswap Widget. - [Next.js Transpile Packages](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Troubleshooting/NextTranspilePackages.md): Configure transpilePackages for ESM module resolution with the Layerswap Widget. - [Vite.js Polyfills](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/Troubleshooting/VitePolyfills.md): Configure polyfills for Vite.js projects using the Layerswap Widget. - [Bitcoin Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/BitcoinProvider.md) - [Custom Wallet Management](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/CustomWalletManagement.md): Full control over wallet connections using the WalletProvider interface with 3rd party libraries - [EVM Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/EVMProvider.md) - [Fuel Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/FuelProvider.md) - [Immutable Passport Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/ImmutablePassportProvider.md) - [ImmutableX Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/ImmutableXProvider.md) - [Native Wallet Packages](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/NativeWalletPackages.md): Use pre-built wallet providers with automatic balance fetching, gas resolution, and connection management - [Paradex Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/ParadexProvider.md) - [Partial Integration (EVM)](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/PartialIntegration.md): Integrate Layerswap with your existing wagmi setup for seamless external wallet detection - [SVM (Solana) Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/SolanaProvider.md) - [Starknet Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/StarknetProvider.md) - [TON Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/TonProvider.md) - [Tron Wallet](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/TronProvider.md) - [Wallet Management](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/Widget/WalletManagement/WalletManagement.md): Configure wallet connection for your integration - [IFrame Integration](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/integration/UI/iFrame.md) - [Introduction](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/introduction.md): Learn about Layerswap and find quick answers to your questions - [Supported Networks & Tokens](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/networks-tokens.md): Browse Layerswap's supported networks and tokens - [Bridge with Privy Server Wallets](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/recipes/privy-wallets.md): Bridge ERC-20 tokens through Layerswap from a Privy server wallet using gas sponsorship - [Security](https://layerswaplabsv0-babgev-deposit-actions-guide.mintlify.site/security.md) ## OpenAPI Specs - [swagger](https://api.layerswap.io/swagger/v2/swagger.json)