Widget

PulseSwap makes it simple to embed swap functionality directly into your app or website. With just a few URL parameters, you can pre-select the blockchain, token pair, and input amount β€” or let users decide everything themselves.

All parameters are optional. If omitted, PulseSwap defaults to PulseChain and its native token.


πŸ”‘ Parameters

  • chain (optional) β€” Blockchain network. Defaults to PulseChain.

  • from (optional) β€” Source token contract address. Defaults to the native token on the selected chain.

  • to (optional) β€” Destination token contract address. If omitted, no pre-selected token.

  • amount (optional) β€” Pre-populates the input amount.

  • embed (optional) β€” If set to yes, loads the PulseSwap widget in a responsive, embedded format.


πŸ”— Base Format


πŸ” Examples

Full-page (Ethereum)

Full-page (PulseChain)


πŸ–ΌοΈ Embedded Widgets

Ethereum

PulseChain


🌐 Supported Chains

PulseChain, Ethereum, Arbitrum, Polygon, BSC, Optimism, Base, Avalanche, Fantom, zkSync Era, Polygon zKEVM, Linea, Gnosis, Aurora, Cronos, Celo, BitTorrent, Scroll

Last updated

Was this helpful?