The exchange of one token for another through a DEX, either via an AMM pool or an order book. The user specifies an input token/amount and receives output tokens at the current market rate minus slippage and fees. On Solana, swaps settle in a single transaction (~400ms) with fees typically 0.01-0.3% per trade.
Um swap é a troca atômica de um token por outro — acontece em milissegundos on-chain com garantia matemática de execução ou falha total, sem risco de contraparte.
Use a Jupiter API para swaps na sua dApp: ela agrega liquidez de todos os DEXs do Solana e encontra o melhor preço automaticamente com um endpoint simples.
Não configurar slippage tolerance adequado. Swaps com slippage muito baixo falham em mercados voláteis; muito alto expõe o usuário a price impact excessivo.
Sua exploração
0 termos visitados no totalA protocol that enables token swaps using algorithmic pricing against pooled liquidity ins…
Ver termo →The difference between the expected price of a swap and the actual execution price due to …
Ver termo →A protocol for trading tokens directly on-chain without a centralized intermediary. Solana…
Ver termo →