Compare methods
Method availability varies by source network: Starknet and TON currently support only the wallet-transfer flow, and the Depository covers EVM and Tron.
Wallet transfer
Use the Widget for a ready-made wallet flow. With the API, create a swap using the standard funding flow, then complete its ordereddeposit_actions. An action may require signing data or submitting a transaction using a to_address, call_data, or both. When an on-chain transaction is required, the transaction sender normally pays the source-network fee.
See Execute deposit actions for the action schema and source-network transaction instructions.
Deposit address
Layerswap assigns a deposit address to the swap. The sender simply transfers funds to that address from any supported source. You can implement deposit-address funding directly with the API or use the Deposit Widget for a ready-made UI. See Execute deposit actions and Deposit Widget.Depository
The Depository funds a swap through a contract call instead of a direct transfer. It is intended for smart contracts, server wallets, batched operations, and sponsored transaction flows. The current execution guides cover EVM native/ERC-20 actions and Tron TRC-20 actions. You can implement Depository funding with the API. Create a supported swap withuse_depository: true, then submit the API-provided contract call to the returned Depository address. See Fund via the Depository contract for transaction instructions.
use_depository and use_deposit_address are mutually exclusive — a swap request that sets both is rejected.
Gasless deposit
Gasless funding lets users fund a swap without having the source network’s gas token. The user signs an authorization, and a relayer submits the transaction and pays the network fee. The relayer cost is included in the gasless quote. The Widget offers gasless funding automatically for supported routes and tokens. You can also implement it with the API: request a gasless quote and create the swap withuse_gasless, then send the user’s signature to POST /authorize. See Gasless deposits for the complete authorization flow.
Widget-specific choices
The Deposit Widget also supportshyperliquid and polymarket funding options. See Deposit Widget for the current allow-list.