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 toyes, 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?