> For the complete documentation index, see [llms.txt](https://docs.pulse.domains/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pulse.domains/partner/pulseswap.io-the-aggregator-of-aggregators/pulseswap-widget.md).

# PulseSwap Widget

### URL Parameter Integration

**All parameters are optional.** This allows you to customize as much or as little as you need.

* **`chain`** *(Optional)*: Specifies the blockchain network. If omitted, defaults to PulseChain.
* **`from`** *(Optional)*: The input (source) token’s contract address. If omitted, defaults to the native token on the selected chain.
* **`to`** *(Optional)*: The output (destination) token’s contract address. If omitted, the interface will display no pre-selected `to` token, allowing users to choose.
* **`amount`** *(Optional)*: Pre-populates the interface with a specified amount of the `from` token. If omitted, the amount field will be blank.

**Example**

<https://pulseswap.io/?`chain`=_{chainName}_&`from`=_{sourceToken}_&`to`=_{destinationToken}_&`amount`=_{amount}>\_

**Example Link on Ethereum**

<https://pulseswap.io/?chain=ethereum&from=0xdac17f958d2ee523a2206206994597c13d831ec7&to=0x0000000000000000000000000000000000000000&amount=1000>

**Example Link on PulseChain**

<https://pulseswap.io/?chain=pulsechain&from=0x0000000000000000000000000000000000000000&to=0x2b591e99afe9f32eaa6214f7b7629768c40eeb39&amount=100000>

All of these parameters (`chain`, `from`, `to`, and `amount`) are optional. If they are not included, PulseSwap will default to PulseChain and the native token.

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

### PulseSwap Widget

<figure><img src="/files/HtQEcLD2YCxHAfxM6VAr" alt="PulseSwap Widget Example"><figcaption></figcaption></figure>

To embed the PulseSwap interface directly into a webpage or dApp, you can append the `&embed=yes` parameter to the URL. This will load a responsive, widget-like interface suitable for both mobile and desktop browsers.

#### URL Parameters

All parameters are optional. This allows you to customize as much or as little as you need.

* **chain (Optional):** Specifies the blockchain network. If omitted, defaults to PulseChain.
* **from (Optional):** The input (source) token’s contract address. If omitted, defaults to the native token on the selected chain.
* **to (Optional):** The output (destination) token’s contract address. If omitted, the interface will display no pre-selected to token, allowing users to choose.
* **amount (Optional):** Pre-populates the interface with a specified amount of the from token. If omitted, the amount field will be blank.
* **embed (Optional):** If set to `yes`, loads the PulseSwap widget in an embedded, responsive format. If omitted or set to any other value, the standard full-page interface is displayed.

#### PulseSwap Widget Example  (Ethereum)

```
<iframe
  title="PulseSwap.io Widget — Ethereum"
  src="https://pulseswap.io/?chain=ethereum&from=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&to=0x0000000000000000000000000000000000000000&amount=1000&embed=yes"
  loading="lazy"
  referrerpolicy="no-referrer"
  style="width:400px; height:640px; border:0;">
</iframe>
```

#### PulseSwap Widget Example  (PulseChain)

```
<iframe
  title="PulseSwap.io Widget — PulseChain"
  src="https://pulseswap.io/?chain=pulsechain&from=0x15d38573d2feeb82e7ad5187ab8c1d52810b1f07&to=0x0000000000000000000000000000000000000000&amount=1000&embed=yes"
  loading="lazy"
  referrerpolicy="no-referrer"
  style="width:400px; height:640px; border:0;">
</iframe>
```

All of these parameters (`chain`, `from`, `to`, `amount`, and `embed`) are optional. If they are not included, PulseSwap will default to PulseChain and the native token, and will load the full-page interface (if `embed` is not set to `yes`).

***

#### 🎯 Getting Started with PulseSwap

PulseSwap’s wide blockchain support, and comprehensive privacy features make it a versatile tool for any DeFi user. To get started, visit [PulseSwap.io](https://pulseswap.io) and explore the most efficient swap options across 18 chains.\
\
Contact via X [@PulseCoinList](https://x.com/PulseCoinList)
